Remote Access will not connect - HELP!

Server Version#:4.30.2
Linux Mint 19.3 Cinnamon

I had a plex server up and running perfectly. I upgraded the PC, and I cannot get remote access to work (I also cannot get the guide to load for live TV using a Homerun box) Pinging the IP shows port 32400 is CLOSED

It’s not my router - The port forwarding was set up for the old machine. Just an IP update, and it should be good. But, I have put the new machine in the DMZ while I am troubleshooting

Netstat is showing this
tcp 0 0 127.0.0.1:32401 0.0.0.0:* LISTEN -
tcp6 0 0 :::445 :::* LISTEN -
tcp6 0 0 :::139 :::* LISTEN -
tcp6 0 0 :::32400 :::* LISTEN -

UFW is disabled

Any ideas? I am stuck. On day 3 of trying to figure this out. I am NOT a linux expert, but I can poke around and generally figure things out. This one has me stumped

1 Like

Just to be clear… the port forward is pointing to the local IP of the new PMS (located in your DMZ)?

If you cannot access the router / public port while the port forward is properly configured and there’s nothing else on your router that’s blocking the traffic… that points to your ISP as a potential root cause.
Have you already checked with them if they’re filtering some traffic?
Alternatively… have you tried using a different external port?

Yes, port forwarding is set up and pointing to the internal IP of my machine.
It is not the ISP. I can plug my old server back in and it works fine. I cannot get a connection to the new box.

Just tried a new port (32100) and it is still failing

https://ping.eu/port-chk/ is showing 172.255.125.xxx 32100 port is closed

In which case it seems more like an issue with your router configuration…
unless maybe you didn’t enable Remote Access for that new server – which I consider unlikely :wink:

If you still have the old port forward for the old machine…
Have you made sure both machines are listening to a different public port (you cannot have them both accessible from the same public port as each public port can only be forwarded to 1 machine in your local network).
Also… the new PMS is configured to listen to that different manually specified public port in Settings > Server > Remote Access?

Old computer is powered off and unplugged. New computer is now in it’s place. Remote access is enabled, but I cannot connect to it. PMS is configured to 32400, and the router is pointing traffic there. I am fiarly confident it is not the router. If I swap back to the old computer, (and just update the IP address in the router) everything works fine. The computer is in the DMZ so no ports are being blocked.

Runnning a scan of open ports from within my network, it does not show port 32400 as open. So, it is definitely something on the linux side. Linux is rejecting all incoming requests

local firewall?

Nope… UFW completely disabled.

I don’t know quite enough about linux to figure out why the port is showing closed

Point of order here?

What is the LAN IP ?

192.168.0.218

I plugged the old computer back in and ran netstat. It looks the same

$ sudo netstat -lnpt | grep Plex
tcp 0 0 127.0.0.1:45230 0.0.0.0:* LISTEN 1838/Plex Plug-in [
tcp 0 0 127.0.0.1:32401 0.0.0.0:* LISTEN 1352/Plex Media Ser
tcp 0 0 127.0.0.1:32600 0.0.0.0:* LISTEN 1960/Plex Tuner Ser
tcp 0 0 127.0.0.1:37883 0.0.0.0:* LISTEN 2109/Plex Plug-in [
tcp6 0 0 :::32400 :::* LISTEN 1352/Plex Media Ser

There is a major improvement coming in 1.19.4 (IIRC from today’s staff meeting) for Remote Access.

Are you seeing it turn Green, then flip Red ?

If so, that’s what was fixed.

2 Likes

I’m seeing it turn green then flip red. Looking forward to the update!

I am seeing that. Any idea when that is coming out?

I completed my portion of the packaging updates yesterday.

I suspect formal build will start today which takes a while.
Next will be internal QA and then Plex Pass.

Hard to put a date because if anything needs fixing, it’ll get fixed in the Build-Test cycle.

This worked for me on Ubuntu 18.04
sudo ufw allow 32400
sudo ufw enable
sudo ufw status

Status: active

To Action From


32400 ALLOW Anywhere
32400 (v6) ALLOW Anywhere (v6)

@ChuckPa installed 1.19.4 today. Same issue. remote access flips to green for a second, and then changed to red. Any other thoughts?

I’m on same OS and remember having a similar issue about a year ago.

Just going to relate what I remember. (I never disabled or made any adjustments to UFW, btw.) Port forwarding with a static IP address at the router-level worked for me with Plex FOR YEARS until I reinstalled my OS about a year ago. I remember a maddening few days where the forwarded port showed as closed when using a port scanner, and the “accessible” indicator in Plex would go green and quickly switch to red. I ended up enabling UPNP for my Plex box on the router side instead of port forwarding, and unchecking the “manually specify port” to let Plex choose the public port. Everything went green then, and life was good. Since then, I have done a couple of OS upgrades and reinstalls, with no changes to this setup and no issues.

1 Like

does your router allow wan port and lan port to be different ?

Needs to be 32100 forwarded to 32400

Your other server is online on wan port 32400 (so port forward is 32400 to 32400 to 192.168.0.216)

For the 192.168.0.218 server the port forward needs to be for a different wan port - say 32100 and forwarded to 32400 to 192.168.0.218

Is this what you have ? screenshots?

you mentioned

showing 172.255.125.xxx 32100 port is closed

That does not look right for your public IP address - plex.tv holding a 73.151.xxx.xxx address. Do you have a vpn?

This fixed it! Thank you so much! I have been losing my mind! So weird because I have 2 identical linux mint boxes (different hardware). The new one needed this, the old didn’t.

1 Like

Glad it worked out for you!