Hi, I’m running plex in docker on my local raspberry pi, but I can’t seem to get the remote access working. PMS seems to have some problem with upnp so I’ve specified port manually
Funny thing is, when I curl it, I get a response <html><head><script>window.location = window.location.href.match(/(^.+\/)[^\/]*$/)[1] + 'web/index.html';</script><title>Unauthorized</title></head><body><h1>401 Unauthorized</h1></body></html>%
192.168.2.102 is not a public IP and it not routable on the open internet. That is why it does not work. You need a public IP. One that does not start with 10.x, 172.x or 192.x. I think you need to put the 213 address in the port forward and ensure it goes to the 172 shown on the plex app.
Hi, thanks for reply. Yes, 192.168.2.102 is not public IP, it is the IP, where my PMS is in local network. That’s why on the screenshot of my router settings it is listed under Internal IP Address. This should be set, so that router which has a public IP of I think 185…something (I’m not currently behind that pc) knows to which machine to forward port 32400.
Not sure who’s address is that 213… I thought it was some plex relay or something. It definitely isn’t my public IP. That 172 address is just a address of docker container.
Edit: Ah ok as writing reply to you and because you suspect that 213 address is mine, I think where the problem is. I can’t confirm, since I’m not behind that pc thou. I’m routing some of my docker through a vpn container, so maybe I don’t have plex whitelisted or something like that. I’ll check it and get back to you (in a week or so)
According to Plex your inside private IP is 172.31.0.2 and your public IP is 213.232.87.124, Both are valid for their purposes. However you think the internal IP is a 192.168 address. So there is a disconnect there somewhere. You can also find out what your public IP is by doing a google search of “what is my ip address”.
Hi, so I finally came to my pc and my suspicions were correct. That 213 address was indeed a vpn and obviously didn’t port forward 32400. I’ve connected it directly (without vpn) and it works now.