Docker Community Forums

Share and learn in the Docker community.

Official WordPress Image, docker-compose on WSL2, cannot access externally

I am using Docker Desktop for Windows via WSL2. I am using the compose yaml from this site:

I store everything in dropbox. If accessing the WordPress Docker Site via “localhost”, I can bring up the site on Linux, Mac and Windows 10.

I migrated the site from using localhost, to using a dyndns domain. It works just fine with Linux, but on Windows, I cannot access the site via domain or from another machine. I can still access the site by using a localhost URL, but not the domain name on windows. I have opened port 80 and 443 on the windows firewall, but still cannot browse the site.

the WP container is running 80:80.

What should I check next?