I'm new to Docker and I have set up changedetection.io running in a Docker container at http://127.0.0.1:5000/. I want to be able to access it from anywhere within my local network and even outside if I open the port on my router. At the moment, I can only access it through 127.0.0.1:5000, and I'm unable to reach it using my host's local IP address (192.168.50.xxx:5000). Any advice on how to make this happen would be greatly appreciated!
4 Answers
If you're looking to access it publicly, remember to also configure your router to forward port 5000 to your Docker host's IP address, after you've made it bind to all IPs as suggested!
It looks like when you ran the Docker container, you used the command with `-p "127.0.0.1:5000:5000"`. This means it's only listening on the localhost interface, which is why you can’t access it from your local network using your host's IP. If you change it to `-p "5000:5000"`, then it will bind to all available IPs on your machine, including your local network address like 192.168.50.xxx. That should solve your problem!
Sure! The command you need looks something like this:
docker run -d --restart always -p "5000:5000" -v datastore-volume:/datastore --name changedetection.io dgtlmoon/changedetection.io
This will expose changedetection on your local network.
To help clarify, can you show how you ran the Docker container? It might be easier to spot any misconfigurations that way.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically