Plex doesn't work with 2 servers

I have spent hours trying to get my second server added to my plex account.

At first I was seeing the other server. I left the ports the same as suggested.
I kept having to reset customizations to switch between servers. (HORRIBLE USER EXPERIENCE)

Then the second server dropped off and is not available.
When I log into the server and go to localhost it keeps directing me to sign into plex and then the server is not available.

Yes, it does work with two servers as I have two servers running on my home network


As for the port forwarding, you need different internet facing ports for each server
 Personally I have external port 32410 forwarded to port 32400 of one server and external port 32420 forwarded to port 32400 of the second server


As for trying to claim the new server, I believe I shutdown the first server while I tried to sign onto the second server from that system’s console using the localhost address an not the plex.tv one


1 Like

Check the log for HTTP 429 errors, if you try too many times your account gets locked out.

When claiming a server I have found it best to login from that server using the PMSserversIPaddress:32400/web

Same as localhost:32400/web as long as you use it on the server you are trying to claim
 But yes, either one should work
 Try one if it doesn’t work try the other


Hi.

  1. Did you use the SAME account for BOTH servers?

  2. Or did you try to make TWO accounts, one for each server?

#1 is the correct way.

#2 is only going to give you problems.

if both are logged into the same account, you can easily switch between them.

click MORE at the bottom of @ Plex Web

image

this will show you all servers you have access to (yours and any servers that are shared to you).

then you can “PIN” the libraries you want to see all the time, or “UNPIN” the libraries you don’t want to see.

image

as far as settings and server management, you can easily switch servers by clicking the servername drop down in settings.

image

all of this requires both servers using the same account.

When I go to localhost on the server I am adding it forces me to login to my plex account. When I log into the Plex account, I ONLY see the old server.

Are you still trying to claim the new server or have you already done that???

I already did that, but I no longer see the server listed.

So i had setup 2 servers. Claimed the new one. Tried to setup remote access to a different manual port on server 2. I could switch between server 1 and server 2 but server 2 didn’t work for remote access outside the LAN.

You guys suggested i leave it at 32400 so i set Server 2 back to 32400 and then blink server 2 dropped out of existence. I can’t access it in settings, I ONLY see server 1. from Server2 I go to local host sign out of plex, it forces me to sign in. There is on Server1 available.

UPDATED*
Restarted previously but still had issue.
Did a sudo service plexmediaserver restart and Server2 came back working fine.
(Running on lubuntu for performance as my Plex on Windows kept locking up too)

I added a cron job so it restarts the service night. Looks like something with the service wasn’t working since I ran the package update.

ALL GOOD.

PMS servers are always port 32400


these are set in the router
Server 1 you would do external port ‘Number’ to 32400
Server 2 you would do external port ‘different number’ to 32400

Still broken.
I have always signed in with same Plex account. At one time I could see both servers from the drop down; now I can only see one server at a time from the MORE option.

If I turn a server off physically, I will see the other server available.

Sounds like you have duplicated a server, you can not have 2 servers running with same guid identification.

1 Like

You are suggesting I cloned the server or am running in virtual machine?
I am not.

The second server is running on older server hardware with a fresh install of linux and fresh install of Plex. The Libraries however have the same name as it is a redundant server for when I move between houses.

I guarantee that the Globally Unique IDentifiers are different. Where would I find this to confirm?

What I DID do was setup the Plex with a brand new account, then later signed out and claimed the server with the original account. I tried setting the second server on an alternate port but have tried setting it back. Since all this I have also attempted a full Plex reinstall. No change.

Are these servers physically in two different locations with different public IP’s
and different friendly names

There are currently in the same physical location, but my plan is when i move out of state next month I will have something working so that I will leave one with my ex-wife and kids that could physically function as a failover for my new house.

you can have multiple plex servers on the same public ip, and on the same lan (with different internal ips).

plex will normally handle this directly with the router, opening ports unpnp, each server will have its own external port number, the internal port numbers will remain the same.

if you did not clone your server, then not sure what is going on.

I would suggest;

  • open chrome incognito tab
  • navigate to server 1 local ip, sign the server out (in the server settings, not the top right corner of the browser)
  • navigate to server 2 local ip, sign the server out
  • sign out of the plex account in the web browser (plex web)

close out any browsers, then open a new incognito, and repeat the above to sign in to each server

there is no way to have failover, in the traditional sense.

you cannot make one server, appear as the other, or ‘sync’ with another server.

you can have multiple servers on one account, and in one or more physical locations.

they will simply be separate stand alone servers, each with their own users and play history, even if they are pointed at the same content.

1 Like

Thanks I will try this.
Yes I understand regarding failover. They have different server names House1 House2 for example.

My plan was to just switch servers should one not work for me. I will advise.

Find the "machine ID"s in the https://support.plex.tv/articles/201105343-advanced-hidden-server-settings/

When i log in directly from the local IP:
http://192.168.0.17:32400/web/index.html#

I am presented with :
Plex Web
would like to sign in to your Plex account

I have noticed that Plex does not appear to allow users to have access plex settings without being logged into an account.

Cannot sign out from incognito.

I am unable to login into the settings on Server2.
One cannot log into the web portal http://192.168.0.17:32400/web/index.html#
without being redirected to the web app online (app.plex.tv)

When i do this sign out and sign back in, I can only see the settings for Server1.
(I do not see Server2 in the settings server dropdown. Not even FROM Server2.

The Plex team has really screwed this up.