Plex Cannot Find Server

dinklebrow

Cadet
Joined
Nov 19, 2018
Messages
5
This is what I have from sockstat -4. Looks like Plex is listening on several ports unless you see one that is missing in there.

Code:
root@plex:/ # sockstat -4
USER	 COMMAND	PID   FD PROTO  LOCAL ADDRESS		 FOREIGN ADDRESS
root	 sshd	   18440 5  tcp4   *:22				  *:*
plex	 Plex DLNA  84862 12 udp4   *:1900				*:*
plex	 Plex DLNA  84862 15 tcp4   *:1103				*:*
plex	 Plex DLNA  84862 18 udp4   *:15607			   *:*
plex	 Plex DLNA  84862 21 udp4   *:4920				*:*
plex	 Plex DLNA  84862 24 tcp4   *:32469			   *:*
plex	 Plex DLNA  84862 27 udp4   *:54141			   *:*
plex	 Plex DLNA  84862 30 udp4   *:48396			   *:*
plex	 Plex DLNA  84862 64 tcp4   127.0.0.1:58251	   127.0.0.1:34686
plex	 Plex Tuner 84861 13 tcp4   127.0.0.1:32600	   *:*
plex	 Plex Tuner 84861 64 tcp4   127.0.0.1:58251	   127.0.0.1:34686
plex	 Plex Scrip 84853 9  tcp4   127.0.0.1:34686	   *:*
plex	 Plex Media 84820 60 tcp4   *:32400			   *:*
plex	 Plex Media 84820 61 tcp4   127.0.0.1:32401	   *:*
plex	 Plex Media 84820 64 tcp4   10.200.200.65:32400   10.240.240.161:52466
plex	 Plex Media 84820 69 udp4   *:32414			   *:*
plex	 Plex Media 84820 70 udp4   *:32410			   *:*
plex	 Plex Media 84820 71 udp4   *:32412			   *:*
plex	 Plex Media 84820 72 udp4   *:32413			   *:*
plex	 Plex Media 84820 73 udp4   10.200.200.65:24721   *:*
plex	 Plex Media 84820 74 udp4   10.200.200.65:14862   *:*
plex	 Plex Media 84820 75 udp4   *:1901				*:*
plex	 Plex Media 84820 76 udp4   10.200.200.65:63889   *:*
plex	 Plex Media 84820 79 tcp4   10.200.200.65:32400   10.240.240.161:52467
plex	 Plex Media 84820 81 tcp4   10.200.200.65:32400   10.240.240.161:52468
plex	 Plex Media 84820 82 tcp4   10.200.200.65:32400   10.240.240.161:52469
 

pschatz100

Guru
Joined
Mar 30, 2014
Messages
1,184
Kind of a long shot, but are you running Plex on a VPN? If yes, try disabling the VPN for Plex and see if that helps.
 

dinklebrow

Cadet
Joined
Nov 19, 2018
Messages
5
Kind of a long shot, but are you running Plex on a VPN? If yes, try disabling the VPN for Plex and see if that helps.

Nope, not running it on a VPN. Running on a fresh install of FreeNAS-11.2-RC2. I was able to get it run by using a separate Docker image. Even though I would prefer to run it under a Jail, I will run it under a Docker image for now and relook at this in the future. Thanks to everyone for trying to help. I hope that the original OP, ElliotLepley, gets it running.
 
Last edited:

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Dude. It is absolutely certain plex would be replying to this. You can even see three tcp connections to the plex interface currently established. Since they are 10.x addresses, they would appear to be yours.

This has to be a network problem. What else can this be. Start sniffing traffic.
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Dude. It is absolutely certain plex would be replying to this. You can even see three tcp connections to the plex interface currently established. Since they are 10.x addresses, they would appear to be yours.

This has to be a network problem. What else can this be. Start sniffing traffic.
pardon me, *FOUR* connections, on 32400.
 

DD4711

Contributor
Joined
Nov 19, 2018
Messages
102
I noticed that connecting via http://PLEX_IP:32400/web is OK, it remains on local installation without a login on plex.tv.
When I try to connect with my local DNS http://PLEX.LOCALDOMAIN:32400/web I am always redirected to plex.tv and the login page there...
 

John Huth

Cadet
Joined
Apr 3, 2016
Messages
1
DrKK i see in this last post that you are listening on everything... I am not see pic. Any info on fixing this in plex?
 

Attachments

  • Untitled.png
    Untitled.png
    41.1 KB · Views: 516

anfieldroad

Dabbler
Joined
Dec 21, 2018
Messages
32
I have the same issue, nothing I have tried has worked.
Am logged in to plex, see listening ports etc but still just stuck "looking for servers".

I think it's broken on 11.2, I had this working fine on 11.1

Is there any way to roll back to 11.1 without data and config loss?
 

Mark_the_Red

Dabbler
Joined
May 3, 2017
Messages
28
I am having the same problem. Both logging into Plex.tv and local IP address show "looking for servers" for an infinite duration.

My question is the same as above? Can we roll back or do we have to reformat / reinstall the entire server from scratch (sigh)? My previous experience with Freenas is that if one thing breaks, EVERYTHING is broken.
 

rovan

Dabbler
Joined
Sep 30, 2013
Messages
33
I setup a Plex server in iocage from scratch, and couldn't get past the sign in 'looking for servers' stage.

My server is on a different network to the clients, As soon as I put the Browser on the same network as the server the 'looking for servers' completed and let me run through the first wizard.

Upon closer inspection to the console I see 401's from xhr / (script calls for connecting to the server), this is probably some sort of xss protection 'feature' built into the browser or just a logic error in the scanner for plex. It should timeout and prompt for a manual server entry. That would fix the issue IMO. OT for FreeNAS forums though. ^^
 

Mark_the_Red

Dabbler
Joined
May 3, 2017
Messages
28
Still can't get it to work. Its almost as if Freenas is preventing Plex from broadcasting the server on my LAN. Any help?
 

tohuuuuu

Cadet
Joined
Jan 13, 2019
Messages
5
I encountered the same issue, depending if the Plex jails is configured to used DHCP (server not found) or with a fixed IP (server found). Bad thing is: With a fixed ip, my DLNA clients don't see the Plex DLNA server. DLNA access works with DHCP, but you'll have to renounce the Plex web interface...

Fresh 11.2 box, Plex installed from the list of "official" plugins.
 

Ishi Carter

Dabbler
Joined
Mar 29, 2015
Messages
10
Having the same issue as the OP. Just upgraded from 9.2 where everything was working. Installed a new drive for jails. Got it all pointed over there. Built a brand new Plex install from scratch. I can log on to Plex from my server, but it can never actually find my plex server (same as OP...just searches forever). Something seems to be blocking Plex's ability to see my service. I have a lifetime Plex pass...it's not an account issue as far as I can tell.
 

Jailer

Not strong, but bad
Joined
Sep 12, 2014
Messages
4,975
Go to the network settings in Plex and add your LAN IP to the "List of IP addresses and networks that are allowed without auth" section.
 

Ishi Carter

Dabbler
Joined
Mar 29, 2015
Messages
10
First of all, thank you for your response! My FreeNAS box and my computer are all local on the same subnet...172.0.0.0/16. Would this have helped? (asking for others because I went a different direction)

I got Plex working a different way, but I think what made it work *might* help others using the plugin. I ended up creating a VM and installing Ubuntu server on my FreeNAS server. I installed Plex onto the server. At the end of the process I had the exact same issue. "Searching for servers...".

I was looking around for any tidbits I could have missed and here's the missing piece that helped this setup (and might help for the plugin, too):

https://support.plex.tv/articles/200288586-installation/

At the very end, there was the following section:

----------------------------------------------------------------------------------------------------------------------------------
Windows
If you’re using Windows on your local system and your server is on Linux or OS X, you’ll need to use an application such as Putty that can create the SSH tunnel for you. You can use instructions like these for setting up the Putty/SSH connection. If following that, you would use this information:

Gateway: ip.address.of.server
Source Port: 8888
Destination: localhost:32400
Once you have the SSH tunnel set up:

Open a browser window
Type http://localhost:8888/web into the address bar
The browser will connect to the server as if it were local and load Plex Web App
----------------------------------------------------------------------------------------------------------------------------------

I set up Putty to use this tunnel, pasted that URL into my browser, and it found my server immediately. I'm wondering if I had done something similar to my jail, it would have found my server.

Man...I read this early on, but I have never had to do all this before so I thought it only applied to some edge case scenario, but it was absolutely necessary for me.
 
Top