I am trying to get a tomcat application server running on a docker container. The server is working, but I cannot access it from the host machine.
The command that I am running to start the container is
docker run -d -p 9080:9080 example/server
On a shell within the container I can type
to get a readout of what the server should yield. This works correctly. However, if I attempt this from the host machine I get the following error message:
curl: (56) Failure when receiving data from the peer
If I replicate the process with a normal Apache server, everything works as it should.</div