What url does Plex use to determine it's public ip

Server Version#: 1.14.1.5488

I’m trying to get remote access to work on a server behind an outgoing vpn. Essentially I have a tun0 interface that is the default on my computer and an ens33 interface that I allow specific ports to have outgoing rights to. Since the custom server access url is completely broken I was hoping to find a way to make plex autodiscover the correct ip by forcing it to use ens33 outgoing for certain things, including ip discovery. So I then was looking into what outgoing ports it uses, 80, 443, and 32400. Forcing outgoing port 32400 to go over ens33 doesn’t seem to work and I definitely don’t want to enable ports 80 or 443 out without a vpn for all of my applications on this computer so I was hoping to enable them out for specific outgoing addresses. Specifically the one it pings to determine it’s external ip.

So I was hoping you could tell me what url on what port the server pings externally to deterimine it’s external ip.

Or you know, just add back the manual port specification feature that got removed a while back and replaced with the broken custom server access url.

Plex uses the IP address at the point where your VPN becomes a WAN IP.
In this point, it will be at the exit point of the tunnel

If you look at whatsmyip.org, it is that IP address which Plex.tv uses.

That does not seem to be an answer to the OP’s question…

I too am having problems with PMS detecting the “correct” IP address. I am using XFlak’s scrips to split tunnel traffic on IPs used by plex.tv. I can successfully remote in via a browser using my ISP-given IP, but Plex apps fail because my Server only reports the VPN-given IP.

So I too would like to know what site/IP Plex’s system uses to look back at your public IP. It is doing a request to somewhere. If known, we could allow traffic on port 80 and 443 only to that site or sites. opening those two ports for all sites kind of defeats the vpn.

As someone answered helping me out it uses
http://whatsmyip.org. The ip address doesn’t seem to change so I just have it whitelisted in ufw and it works perfectly.

PMS contacts plex.tv with a simple request to return the sender’s IP as the result.

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