Can't access container

Hello,

I’ve been trying to connect to my containers, via my browser, but I can’t get it to work.
I tested it on win10 home with docker toolbox and on win10 pro with docker for windows.

I started with docker-compose, then tried docker run.

I tried the nginx image for example, I spin up a container, expose port 80:8080 and try accessing “localhost”, but no response.

docker run -d -p 80:80 --name webserver nginx

Here is, what docker container inspect webserver gives me.
https://pastebin.com/fWEbc2f7

On some systems, the port 80 is blocked by the firewall.

If you try to run

docker run -d -p 8088:80 --name webserver nginx

and then access http://localhost:8088 do you get the standard nginx-screen then?

1 Like

Tried that - no response.
I also tried it with disabled firewall, not working either.

Hi,

I have same problem is this resolved?