My Server has 2 ip addresses, and I can't choose one of them

Server Version#: 1.41.3.9314
Player Version#: ?
<If providing server logs please do NOT turn on verbose logging, only debug logging should be enabled>

So, I have a unique networking setup. I have RNDIS tethering for my internet connection, and I have access to my local network with no gateway configured so that my plex server only uses CGNAT for a gateway. My local network can see the plex server and I can stream from it, but the remote access only wants to use the CGNAT ip address because there’s only one gateway for the server.

I’m curious if there’s a way to get into the config files and manually change which interface plex uses for this as the selection isn’t available in the web UI. I don’t necessarily need remote access, but it’s just itching my brain to see if I can get this working.

Thanks in advance!

Have you tried using a custom server access URL (Settings → Network)? You can specify a URL (or URLs) in that field to be registered on Plex’s server which will be advertised to logged-in Plex clients. For example, if your public IP address were 203.0.113.23, you would use something like the following:

http://203.0.113.23:32400

Don’t worry, this will be converted to a secure HTTPS plex.direct URL when it is registered. And you can use whatever external port makes sense, but as always your Plex server itself will listen on TCP 32400. The actual URL which is published will end up looking something like:
https://203-0-113-23.abcdefg1234567890.plex.direct:32400

That hex string is a certificate UUID. The FQDN in the URL will resolve to your IP address.

Then, remote clients will prefer that URL when attempting to connect to your server.

As long as there is an inbound route to the server via this IP address your remote clients should be able to connect to it.

Finally, you may want to disable remote access if you go this route. This and remote access are two different ways of accomplishing the same thing and could interfere with one another.

I see! That’s very helpful! I have a DHCP assigned IP and while lots of ISPs typically lease the same IP to your router mine changes frequently. I have DDNS and ports forwarded, though.

You can specify your DDNS FQDN in the URL there, but if so you’ll have to provide a custom server certificate as well. In fact, if you configure your custom certificate settings correctly, the custom server access URL is redundant (unless you need to use a non-default port). See the following settings at the top of the Settings → Network page:

  • Custom certificate location
  • Custom certificate encryption key
  • Custom certificate domain

I have little experience using that though; maybe someone else will come along who can provide more guidance. But here’s the backing documentation:
https://support.plex.tv/articles/200430283-network/#toc-1

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.