<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>

CC BY-SA 4.0
2020-09-04T19:40:47.153Z
That looks fine to me.
Konrad Botor
CC BY-SA 4.0
2020-09-03T09:57:11.707Z
2020-09-03T10:15:45.770Z
2020-09-03T10:15:45.770Z
Nicholas Saunders
<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>

<docker><containers><images><servers><http>
Can't access startfile http://localhost/
Nicholas Saunders
# Can't access startfile http://localhost/

(Asked by: username_0 on 2020-09-03)

Having created a docker container as:
docker run -d --name=jetty  jetty

How do I now get 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.  

---

