Change server connection uri

Hello,
I have a plex server running on a subnet behind a pfSense firewall. I want my nvidia shield to connect to the server but it did not work.
It appears the shield tries to use the local IP of plex server instead of my local public IP (obviously).

When I access https://plex.tv/devices.xml, I can see my server with:
<Device name="BigUpPlexServer" publicAddress="90.60.XXX.XXX" product="Plex Media Server" productVersion="1.12.1.4885-1046ba85f" platform="Linux" platformVersion="4.13.13-6-pve" vendor="ubuntu" provides="server"> <Connection uri="http://192.168.9.12:32400"/> </Device>

How can I change the connection uri to my local public IP 192.168.1.XXX? is there a pref file somewhere on server?
Thanks

PS: I don’t want to connect my server to internet

Define “did not work.”
Does the Shield Plex client authenticate with the Plex servers when you enter the code at plex.tv/link?
Can the Shield Plex client see the PMS system?

Is the Shield on the same network as the PMS system, 192.168.9.x, or must it pass through the firewall?

If the Shield and PMS server are on the same network, the Shield will connect directly to the PMS server’s local address, 192.168.9.12. It is unclear why you want to change that.

Can you provide some additional details about how things are connected?

Thanks for the reply
I mean the shield sees a plex server but always offline because PMS and shield are not on the same network. When I registered the plex server, it has associated the server with the local subnet 192.168.9.12 IP address (but where?). I just want to replace this address with the public address (that my firewall will let pass with the correct port). I can access successfully the plex server with this address.
On the logs, I see the shield tries to wrongly connect with 192.168.9.12 address, I need a custom server address input…
Hope it is clearer (despite my poor english)

Thank you for the additional information.

It is unclear if the Shield is (a) at a remote location or (b) local, but on a different network. Apologies if I’m misunderstanding things.

Here’s information for both scenarios. Hope this helps.

If the Shield is at a remote location, then you need to enable remote access in PMS (Settings -> Server -> Remote Access). You will also need to enable port forwarding in your firewall for port 32400. The NAT capability in your firewall/router will translate between the local address, 192.168.9.12, and your public address, 90.60.xxx.xxx.

Port Forwarding in my Asus router

Remote Access settings in PMS

Documentation on Remote Access
Enabling Remote Access for a Server

Troubleshooting Remote Access

If the Shield TV is in the same location as the PMS system, just on a different network (not 192.168.9.x), then you need to enable port 32400 between the two networks and make sure your firewall/router successfully routes between the two networks. You do not need to change the advertised address of the PMS server. Standard IP routing will handle things.

If possible, as a test, you may want to allow all communication between the two networks, so you can ping, etc to ensure connectivity. Once things are working you can put the filters back in place.

Make sure the Network -> Secure Communications settings (required/preferred/disabled) are in sync with the Nvidia Shield.

You may have to manually specify the PMS server address, 192.168.9.12, in the Plex app on the Nvidia Shield TV.

In PMS Settings -> Networks, you may also have to add the Shield’s network under “LAN Networks” so it will be considered local. According to the Plex documentation, this is a Plex Pass feature. You can add either a specific IP address or a subnet & mask (ex: 192.168.1.0 255.255.255.0).

In Settings -> Remote Access, set “Limit Remote Stream Bitrate” to Unlimited / Original. This will keep PMS from limiting streaming bandwidth to the Nvidia Shield if it thinks the Shield is remote (i.e. if you cannot add the Shield’s IP address in “LAN Networks”).

I’ve never set up a client on a different local network, and have no easy way to test such a setup, so other than ensuring IP connectivity and manually adding addresses, I’m not sure what else to test. Hopefully others can assist if the above does not work.

Follow-up.

See this conversation: https://forums.plex.tv/discussion/316659/server-discovery-across-subnets#latest

EDIT: Realized that conversation is in Plex Pass area. Here’s the relevant text:

You need to make the ports labeled as GDM network discovery on this page cross the subnets in both directions (client -> broadcast -> server and server -> client).

Which references this page: https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/

Shield TV and Plex are on the same location, but different network
Unfortunately, I don’t own a Plex pass
My shield can not ping directly the PLEX VM in the subnet, but my pfSense allows to access PLEX services with a specific IP and port
My internet box hasn’t a router function, I will add one to route the IPs
Thanks for the support!