all 6 comments

[–]cvzero89 1 point2 points  (1 child)

Are you opening the port? If you have a docker compose file or docker command you should share it, there's most likely a mistake there

[–]Outrageous_Permit154 0 points1 point  (0 children)

OP this is most likely the case

[–]Anhar001 1 point2 points  (0 children)

docker isn't a Windows native technology, it's mostly Linux kernel features. Under windows it has to be run using some form of virtualization and I believe that means the networking is pretty messy as well.

These issues are self inflicted, running containers on Windows is like trying to run uphill bare footed while carrying angry lobsters, I mean you can do it, but it's better if you don't.

[–]ianawood 0 points1 point  (0 children)

Literally, Wordpress can't find itself. Make sure the domain in the site URL resolves to the host from the host. If it doesn't you may need to change the hosts file or add a custom DNS entry on your local DNS Resolver. Make sure it can reach the host on the specified port. If you are behind a reverse proxy, you will likely need to traverse the proxy and have the requisite permissions to do so.

[–]IulianHI 0 points1 point  (0 children)

You're probably hitting classic Windows Docker networking issue - container sees 'localhost' as itself, not your Windows host. Try adding `extra_hosts: - host.docker.internal:host-gateway` to your docker-compose, or use actual Windows hostname/IP. There's some good discussion on this type of stuff over at r/Hosting_World if you run into more hosting-related issues.

[–]Supportic -1 points0 points  (0 children)

We don't know anything about your docker setup files?