# Cannot access docker webserver from external machine

**URL:** <https://forums.docker.com/t/cannot-access-docker-webserver-from-external-machine/112331>\
**Category:** Docker Desktop\
**Created:** [July 9, 2021, 3:32am UTC](https://forums.docker.com/t/cannot-access-docker-webserver-from-external-machine/112331 "2021-07-09T03:32:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnsimmonshypertext](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/johnsimmonshypertext/32/33589_2.png) [@johnsimmonshypertext](https://forums.docker.com/u/johnsimmonshypertext)\
**Post date:** [July 9, 2021, 3:32am UTC](https://forums.docker.com/t/cannot-access-docker-webserver-from-external-machine/112331/1 "2021-07-09T03:32:10Z")

</div>

I am trying to access a website running under docker.

If I bring the container up under Linux, then I can access the site via localhost or the machine name or DynDns from another machine on the network / internet.

If I bring up the same container on Docker Desktop for Windows, I can access it via localhost, but not from an external machine. I have opened ports 80 and 443 on the Windows machine.

How can I fix this?

Windows 10 / WSL2
