Answers: <p>created with:</p>
  <pre><code>docker run -d -p 80:8080 -p 443:8443 jetty
  </code></pre>
  <p>gives a start page as:</p>
  <pre><code>Error 404 - Not Found.
  
     No context on this server matched or handled this request.
  
     Contexts known to this server are:
  
     Context Path Display Name Status LifeCycle
       __________________________________________________________________
  
     [1]icon  [2]Powered by Eclipse Jetty:// Server
       __________________________________________________________________
  
  References
  
     1. http://eclipse.org/jetty
     2. http://eclipse.org/jetty
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2020-09-04T19:40:47.153Z
Answers: That looks fine to me.
Answers: Konrad Botor
Answers: CC BY-SA 4.0
Answers: 2020-09-03T09:57:11.707Z
Answers: 2020-09-03T10:15:45.770Z
Answers: 2020-09-03T10:15:45.770Z
Answers: Nicholas Saunders
Body: <p>Having created a <a href="https://hub.docker.com/_/jetty" rel="nofollow noreferrer">docker</a> container as:</p>
  <pre><code>docker run -d --name=jetty  jetty
  </code></pre>
  <p>How do I now <a href="https://stackoverflow.com/q/62509854/4531180">get</a> a hello world page as?</p>
  <pre><code>Looking up localhost:8080
  Making HTTP connection to localhost:8080
  Alert!: Unable to connect to remote host.
  
  lynx: Can't access startfile http://localhost:8080/
  </code></pre>
  <p>and:</p>
  <pre><code>Looking up localhost
  Making HTTP connection to localhost
  Alert!: Unable to connect to remote host.
  
  lynx: Can't access startfile http://localhost/
  </code></pre>
  <p>containers:</p>
  <pre><code>CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
  5379d3f41d20        jetty               &quot;/docker-entrypoint.…&quot;   4 seconds ago       Up 2 seconds        8080/tcp            jetty
  </code></pre>
  
Tags: <docker><containers><images><servers><http>
Title: Can't access startfile http://localhost/
UserDisplayName: Nicholas Saunders
ThreadText: # Can't access startfile http://localhost/
  
  (Asked by: username_0 on 2020-09-03)
  
  Having created a [docker](https://hub.docker.com/_/jetty) container as:
  
  ```
  docker run -d --name=jetty  jetty
  
  ```
  
  How do I now [get](https://stackoverflow.com/q/62509854/4531180) a hello world page as?
  
  ```
  Looking up localhost:8080
  Making HTTP connection to localhost:8080
  Alert!: Unable to connect to remote host.
  
  lynx: Can't access startfile http://localhost:8080/
  
  ```
  
  and:
  
  ```
  Looking up localhost
  Making HTTP connection to localhost
  Alert!: Unable to connect to remote host.
  
  lynx: Can't access startfile http://localhost/
  
  ```
  
  containers:
  
  ```
  CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS               NAMES
  5379d3f41d20        jetty               "/docker-entrypoint.…"   4 seconds ago       Up 2 seconds        8080/tcp            jetty
  
  ```
  
  **Tags:** docker, containers, images, servers, http
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2020-09-03. Score: 1
  
  created with:
  
  ```
  docker run -d -p 80:8080 -p 443:8443 jetty
  
  ```
  
  gives a start page as:
  
  ```
  Error 404 - Not Found.
  
     No context on this server matched or handled this request.
  
     Contexts known to this server are:
  
     Context Path Display Name Status LifeCycle
       __________________________________________________________________
  
     [1]icon  [2]Powered by Eclipse Jetty:// Server
       __________________________________________________________________
  
  References
  
     1. http://eclipse.org/jetty
     2. http://eclipse.org/jetty
  
  ```
  
  > **Comments:**
  > **username_1**: That looks fine to me.  
  
  ---
  
  