Plex Media Server Not Working

Server Version#: 1.18.7
Player Version#: Web

I just initiated a Plex account today and am trying to set it up. I’ve downloaded all of the latest files, and the Plex app is working just fine. However, the “Your Media” tab that is supposed to link to my Media Server is not. I’ve tried many different ways to login to the PMS, but nothing is working.
I can provide any data needed, but for now, any ideas what I am doing wrong? Possible subnet issue??

No VPN, Macbook Pro, Chrome Browser.

You mention Plex App, What app?
MacOS Version?

To link your app, you need to visit, when your signed into your plex account on your Server.

Do this on the Server Browser and enter the 4 Character code and click enter

https://www.plex.tv/link/

Things to check,

  1. Does the device have a active internet connection?
  2. Is the Device on the same LAN as your Server?

Screen shot of Your Media error Please.

1 Like

I am not sure what the 4 digit code is, and I have unsuccessfully tried a few different ones so far. When I try these codes it just says “code not found or expired”.

When I download the Plex app, I still have to login on the web. Is that the issue? I’ve never received any 4-digit code and don’t know how to get a new one.
Regarding the Server Browser… No idea what you mean. When I click on the Plex Media Server app, it brings me to this address - http://127.0.0.1:32400/web
This doesn’t seem right, but I don’t know how to change it either.

  1. Yes this device has internet.
  2. Not sure how to check the LAN

This is the website that I’ve been using already, so nothing different to report. The address that is showing now, when I click your link, something else was shown.

I cannot see any Plex Media Server signed in to your plex.tv account.
So you downloaded Plex Media Server from plex.tv/downloads and you launched it ?
This should open up Plex Web via 127.0.0.1:32400/web and should force you to login to plex.tv and claim the server - that way the server is linked to the account and you can then be able to use it from Plex client apps

That is right. You should sign in plex.tv and claim the server

Look for server log files - see this article for how to locate the logs

ok, even though it is the correct address for the Media Server, it never actually loads anything. So, all it does it spins like it is loading and never goes anywhere, therefore no login whatsoever. I’ve tried Chrome and Safari. Other ideas?

Does Plex Media Server app appear as a running process in the Activity Monitor?

Follow the steps in the article I linked to find the server logs folder and get the logs

Screenshot ? (full - not cropped)

It is showing up in the activity monitor, but doesn’t seem to be doing much. Here is the error code I’m getting and the lack of activity…

In regards to this one, I also can’t find all of the options under “settings” that people keep talking about. For instance, I can’t get to Settings > Manage > Troubleshooting. Here are the options that I get…

Locate the Logs and copy out and zip the copy and attach. But first do a repeat test with Plex Web logging as well. See this article for where the logs are - accessed through “Goto Folder” https://support.plex.tv/articles/200250417-plex-media-server-log-files/

That is because all you are seeing are Plex Web settings. Plex Web cannot reach the server. Lets repeat this with Plex Web logging.
On that screen click on “Debug” in left side bar and with Show Advanced as you have, enable verbose logging on the debug page, save the changes. Then refresh the browser so it tries to connect to the server again and then select Debug again and view the log and copy all text to a text file and save, Then start a browser session with http://127.0.0.1:32400/web and follow any sign in and show advanced and go through the debug sequence of setting verbose and refreshing and then viewing log and copying out to another text file

Take screenshot (do not crop) and if you cannot get time to be displayed by mac os on the screen, note down the time for each of the 2 tests,

After this locate the server logs as per the linked article and attach zip of the logs copy and the 2 plex web logs and screenshots

After finally finding the log folders it seems that there is always an error stating that the “address is already in use”. That might be the issue! Even though I don’t know how to fix it…
Here is the Zip file showing all of the logs.
plex logs.zip (10.2 KB)
Here is the web verbose debug file too
Plex Verbose Log.txt (63.7 KB)
Unfortunately there isn’t a login possibility trying that address. Still the same issue with nothing but a loading page that never goes anywhere.

Does this help?

1 Like

That appears to be the issue. You have another application that is using either tcp port 32400 or 32401

To find out what application, start a terminal session:

On Mac OS you can do this command in a terminal session
Finder click on Applications > Utilities > Terminal .

Then the command could be

lsof -i | grep LISTEN

See what application is listening to 32400 or 32401

Seems like we are getting closer!
Here is what shows up…
Plex\x20M 12620 Josh 65u IPv6 0x5694bef9fff0611b 0t0 TCP *:32400 (LISTEN)
Plex\x20M 12620 Josh 66u IPv4 0x5694befa185b5373 0t0 TCP localhost:32401 (LISTEN)

Seems like I should do something about the “localhost” right?

The localhost listen is only for 32401 for Relay. The 32400 is correct and set for all on *:32400

What is strange is that the 32400 listen is showing as ipv6

Is it possible that you have two user accounts on the Mac and another process is running Plex Media server under the other account?

Could I have corresponding set of diagnostics for

lsof -i | grep LISTEN

Tools / Activity Monitor / showing what Plex processes are running and what user and the process PID number

Noting down the time of the lsof and the activity monitor info

Output from ifconfig in terminal

The server logs again

nothing seems to have changed in the terminal settings… still shows this.
Plex\x20M 12620 Josh 65u IPv6 0x5694bef9fff0611b 0t0 TCP *:32400 (LISTEN)
Plex\x20M 12620 Josh 66u IPv4 0x5694befa185b5373 0t0 TCP localhost:32401 (LISTEN)

As for the Activity Monitor, this is what it shows


Definitely only one user on this computer and it is all showing as me (Josh).

This is the log from “ipconfig”
usage: ipconfig

where is one of waitall, getifaddr, ifcount, getoption, getpacket, getv6packet, set, setverbose

Ifconfig

Anyway it is running a process now and still pid 12620 but the logs you got me were of a terminating process each time -and not of process 12620

Kill all the plex processes you see in terminal - check activity monitor for no plex processes

Then confirm with lsof -i | grep LISTEN that there are no 32400 32401 listeners

Then launch plex media server.app and try again and see what the logs show

This looks like it finally worked! I was able to login and set up the server. Thanks so much for all of your help!!

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