docker container not reachable for other ip address

Viewed 37

It seems like i can't reach any of the ports that Docker is exposing.

On machine (192.168.13.59 ubuntu 22.04) i have Apache running without docker. I can reach the website from another local pc (192.168.13.15) ->

So to test why my containers can't be reached:

  • stopped apache
  • sudo docker run -it --rm -d -p 80:80 --name web nginx
  • curl http://localhost:80 on the Ubuntu machine shows the Nginx webserver
  • opening the webserver from 192.168.13.15 is not possible

So it seems a problem in my docker configuration (not the firewall, as it's inactive and i can do a curl locally)

Any suggestions?

0 Answers
Related