oscarr icon indicating copy to clipboard operation
oscarr copied to clipboard

No access outside of local network

Open thicklord opened this issue 6 years ago • 4 comments

Not sure if it's my configuration (pretty sure it isn't) but I can't access Oscarr from outside of my network. At first, I thought it was because I was using a different port mapping (6565:5656) but I can access it from my LAN using my machine's IP, and the port works.

Attached is my docker-compose file: oscarr-docker-compose.txt

thicklord avatar Nov 14 '19 04:11 thicklord

Did you set Oscarr listening IP to something else than 0.0.0.0?

morpheus65535 avatar Nov 14 '19 11:11 morpheus65535

I hadn't before, but I did try changing it. The only way I can access the WebUI is if the port is set to 0.0.0.0. I tried changing it to the local IP of the server it's running on; no dice. I also tried to set it to 127.0.0.1, that didn't work either. For both of those IP's, the WebUI wouldn't come up at all. I had to edit the oscarr.db file manually to set the IP back to 0.0.0.0. This isn't a huge deal but access outside of my network would be nice but not a deal-breaker.

Let me know if you want me to try anything else to try and resolve this.

thicklord avatar Nov 14 '19 19:11 thicklord

When using docker, you cannot bind the ip of the host as this ip isn’t exposed to the container that have is own private ip.

If you use 127.0.0.1, Oscarr will only listen to request to 127.0.0.1 which means you need to call it from inside the container.

With 0.0.0.0, Pscarr with listen on any ip/interface so you should be good.

If it doesn’t work, it’s an issue on your side. Probably port redirection/NATting in your router.

morpheus65535 avatar Nov 15 '19 00:11 morpheus65535

I see what you’re saying about the IP access, that makes sense. What doesn’t make sense is that all of my other containers with similar configurations and mapped ports are all accessible from anywhere, including Bazarr. I’ll take another look at my network and port forwarding rules and see if I’ve overlooked anything.

thicklord avatar Nov 15 '19 01:11 thicklord