Custom Port Prevents Secure Connection

Hope this is a Ninja-worthy question, but I’ve been having issues with plex and setting a custom port.

I have port forward set up correctly on my router with internal port 32400 and external port 123 (have tried 110 as well), but every time I do, when I access plex through PlexServerIP:32400/web, it successfully goes to the Plex home screen but it says the server cannot be securely reached. The only time it works is if I allow insecure connections. I can go back and edit the server settings this way and going back to port 32400 works fine afterwards. Any ideas?

Also, after allowing insecure connections and going to Settings > Server > Remote Access, Plex says my server is fully accessible from outside the network with the custom port, so it seems it’s only for secure connections. Is this a known issue that I’m overlooking? Please tell me I’m not going crazy.

Also, the Plex FAQs recommend choosing a port higher than 20,000 and lower than 50,000 it seems it works this way, but it should still work with anything less right?

I would have thought this might be DNS Rebinding Protection in the router rather than specific port number issue - but regardless you should avoid using ports that have been assigned for other purposes eg 123 for NTP and 110 for POP3 mail

Check out the plex.direct routes with nslookup
So when configured for Remote Access with your specified port and confirmed that remote access does work through that port, get the xml from this url
https://plex.tv/pms/resources.xml?includeHttps=1
Then find the two plex.direct uri’s in the connection details for the server
Then test out both the local and public url with nslookup

eg

nslookup zzz-zzz-zzz-zzz.xxxxxxxxxxxxxxxxxxxxxxxxxxxx.plex.direct
nslookup 192-168-1-22.xxxxxxxxxxxxxxxxxxxxxxxxxxxx.plex.direct

and see if they both translate - one to the public ip and one to the local ip

Then repeat the test using google dns instead of your router DNS
eg

nslookup zzz-zzz-zzz-zzz.xxxxxxxxxxxxxxxxxxxxxxxxxxxx.plex.direct 8.8.8.8
nslookup 192-168-1-22.xxxxxxxxxxxxxxxxxxxxxxxxxxxx.plex.direct 8.8.8.8