I changed my router over the weekend, and my plex server (running in a Jail on a FreeNAS box) got a new ip address. Now, when I browse via local ip / dns, it will not connect to the server by default, and gives me a message:
The selected servre cannot be reached securely. An insecure connection may be possible
And indeed, if I click “Allow insecure connection” I can access the server and the media on it. If I look at the server settings, it says that remote access is enabled and working.
When I went to my media pc connected to my tv and pulled up the plex app, it could not find the server. I opened up a browser, went to the local ip address and signed in there, and watched my media just fine, but I would prefer to be able to watch via the app, especially if i’m not on my network.
Since the IP address changed, I suspect that this is due to a now bad SSL cert, but I can’t be sure. What can I do to fix this?
Yeah, I had this happen before when I changed my subnet.
The jails probably don’t have the correct DNS server, so Plex can’t contact the CA to get a new SSL cert. A quick fix is to set nameserver {router's IP} in the jail’s /etc/resolv.conf. I haven’t used FreeNAS/BSD for a while so I’m not sure how to fix it long term.
Unfortunately that doesn’t seem to be the problem. When I jexec’d into the jail, the resolv.conf file had the correct values, and I was able to do dns lookups on google.com, yahoo.com, and plex.tv. So I feel pretty confident that the dns settings are right.
Could you please sign out from the server, restart and sign in again? On the Plex settings, not the top right corner.
Another possibility is the dns rebind issue. So check that as well. Sometimes you must use Google’s DNS.
Check this help article, it might prove useful https://support.plex.tv/hc/en-us/articles/204604227-Why-can-t-the-Plex-app-find-or-connect-to-my-Plex-Media-Server-