my public port keeps changing.

hey so i had my plex working 100%… then i upgraded to windows 10 and kept running into problems with my router and such.
Plex-Media-Server 12290~12290 32400~32400 TCP 192.168.0.23
is my setting on my router.

the issue being

Private 192.168.0.23 : 32400 Public xxx.xxx.xxx.xxx: 12290 Internet

but in a hour… my network will be unreachable outside my network again… and ill have to hit the Apply button to like refresh my plex and try to reconnect to server, then under public it shows my ip again and a different ip, so ill have to go onto my router and change the 12290-12290 public port to whatever that port change to… any help would be greatly appreciated. i tried to type in manually specify the public port but it makes it unreachable. i have to do it through my router in order for it to work then itll go off again.

That’s normal and depends on your ISP . Some change daily, weekly , monthly, randomly.

2 options

  1. Pay extra (usually) for a static IP . i.e it will not change
  2. get a DDNS . (Dynamic Domain Name System) is a service that allows network clients to connect to the wireless router, even with a dynamic public IP address, through its registered domain name.
    Plenty of free ones around like https://www.noip.com/

If you are creating the port forwarding manually in your router, you have to tick the check box for the ‘manual external port number’.
Put in your external port number and click on Apply/Retry.
And then wait. Don’t be fooled by it saying ‘unavailable’.
Just let it sit for 20 minutes or so.

oh okay otto, because the last part is what kept getting me, it saying unavailable haha.

Also to spike, I have used plex for a year, no issues. ran smoothly never had to do anything except install plex i was good. now i have so many issues with it haha

Otto thank you, i did as you said, at some point should it show available?

@perrym69 said:
Otto thank you, i did as you said, at some point should it show available?

Just let it sit. 20 or even 40 minutes.
You can also do a Plex server restart inbetween.
If there are no other negative influences (VPN, double-NAT etc) it will eventually show ‘available’.

Before, you can do a connection test, to see if the public port is available.
You can either use a Plex client which is not connected to your home network, but rather to a public hotspot or mobile provider.

Or you use this: http://canyouseeme.org/
type in your ‘external’ Plex portnumber. If this test says the port is open, you can rest easy.

my server is doing the same thing it some time changes port number to 0… I have tried everything and still it is not working. I am running plex Version 1.11.3.4803. on win server 2012 r2 turned off firewall, on PowerEdge r710. was nic teaming, then disabled all but one nic still not working… it is very frustrating
please help… 

@samkinsey said:
I have tried everything and still it is not working.

Everything?

Forward a Port in your router… then:

tell Plex what that port is.

@OttoKerner Is there any way to programattically (maybe an API) update this port and apply? My port changes frequently, but I am notified of it, so I’d like to be able to update this accordingly without having to touch it.

Maybe there is, but I don’t know how. Sorry!