Docker Community Forums

Share and learn in the Docker community.

Can't access exposed ports from other pc in the network

Hello,

I have created an nginx container on my Laptop using docker run --rm -it -p 8000:80 nginx.
I can access the website on my laptop, but I can’t access the page on my desktop PC (same network)

Do you have any idea what the cause of this could be?

Local firewall maybe?

1 Like

Yes, that was the problem. The AD configuration blocked all connections.

I had to add C:\Program Files\Docker\Docker\resources\com.docker.backend.exe to the firewall rules to allow all container traffic.

1 Like