I apologize in advance if this is a very common question, I just cannot seem to make any sense of it.
I have a windows machine that is hosting wordpress in a docker desktop container. The Ports on the docker container are 8001:80 I am ultimately trying to get this website to be public, but the next logical testing step is to access the website from another machine on my network using the IP address of the hosting machine.
I am able to get to the website and the admin console on the local machine using http://localhost:8001 ; however, when I use the IP address from a different machine I either cannot get to the website at all, or I get a basic text version of the website. I've read a lot of things to try, but nothing has worked so far. Hoping someone can provide a suggestion that I haven't tried yet.
Cannot access locally hosted wordpress site from another machine
[ad_1]
[ad_2]

Try shutting the firewall off of the hosting pc and see if that helps.
localhost explicitly means “this machine”. you cannot hit another machine’s localhost.
when using the ip of the host machine, your WP instance is likely still referencing an absolute path to localhost for the assets.
the host machine needs to be listening for inbound requests, typically on 80/44. these need to be forwarded to https://docs.docker.com/engine/network/
internal networking may also need ports opened on your router/network. if you intend to open this beyond your local network, make sure your ISP allows it with your plan – many consumer plans block 80/443. and many consumer plans have iffy outbound traffic bandwidth.