Claim and Configure Your Plex Media Server

Claiming connects the Plex server on your Shared App Hosting service to your own Plex account. Choose one of the methods below; Method 1 is the easiest and recommended option.

Open the Client Area, go to Services → My Services and select your service. On the Apps tab, find Plex. Once it is installed, Show details displays its addresses and management buttons.

Claim codes expire after 4 minutes

Prepare the Client Area or your file transfer connection before getting a code. If the code expires, refresh plex.tv/claim and use the new code immediately.

The videos and screenshots use a demonstration service. Use your own service details; hostnames and ports shown in the examples may differ from yours.


Method 1 – Claim Plex from the Client Area

Use the Claim button, then restart Plex and check that the server appears in your Plex account.

Video: 2 minutes 23 seconds, with English narration. Open the video directly.

1. Install Plex

On Apps, find Plex and choose Install. Leave the claim code field empty for now, confirm Install and wait for the installation to finish. If Plex is already installed, continue to the next step.

Plex installation dialog with an empty claim code field

2. Get a Fresh Claim Code

Open plex.tv/claim in another browser tab and sign in to your Plex account. Create a free account there if needed. Copy the code beginning with claim-. It is valid for 4 minutes.

3. Claim the Server

Return to Apps → Plex → Show details in the Client Area and choose Claim.

Plex details showing the Restart, Update and Claim buttons

Paste the fresh code into the Plex claim code field and confirm with Claim. Wait for the action to finish.

Client Area Plex Claim dialog

4. Restart Plex

In the Plex management options, choose Restart, confirm it and wait for Plex to start again. This step is required after claiming with Method 1.

5. Check Your Plex Account

Open app.plex.tv, sign in with the same account and select More in the sidebar. Your server should appear in the list.

Claimed demonstration server listed in Plex

Check the server in Plex even if the Client Area reports success. The panel message alone does not confirm that Plex accepted the code. If the server is missing, get a new code, repeat Claim and restart Plex again.


Method 2 – Claim Plex with claimplex.txt

Place a fresh claim code in a small text file, upload it to the Plex folder and run Update in the Client Area. Plex must already be installed.

Video: 2 minutes 35 seconds, with English narration. Open the video directly.

1. Prepare the File Transfer Connection

Connect to your service with FileZilla or another FTP/SFTP client. On the server side, open Plex Media Server inside your service user's home folder. Keep this folder open before obtaining the code.

If you need help connecting, follow our FileZilla connection guide.

2. Create and Upload the File

  1. Open plex.tv/claim, sign in and copy a fresh code. Complete the following steps within 4 minutes.
  2. Paste only the code into a plain text editor, such as Notepad.
  3. Save the file as claimplex.txt, all in lowercase. Check that it has not been saved as claimplex.txt.txt.
  4. In FileZilla, refresh the local file list and upload the file into the remote Plex Media Server folder.

The resulting location is ~/Plex Media Server/claimplex.txt, where ~ means the service user's home folder.

FileZilla with claimplex.txt uploaded into the remote Plex Media Server folder

3. Run Update

Return to Client Area → your service → Apps → Plex → Show details. Choose Update, confirm it and wait for the operation to finish.

4. Check Plex and Delete the File

Open app.plex.tv with the same Plex account and look for your server under More. If it is missing, generate a fresh code, replace the file contents, upload the updated file and run Update again.

Delete claimplex.txt yourself after the server is claimed. The file is not removed automatically. In FileZilla, right-click claimplex.txt in the remote Plex folder, choose Delete and confirm. Remove your local copy as well.

FileZilla Delete command for the remote claimplex.txt file


Method 3 – Claim Plex Through an SSH Tunnel

This method opens the local Plex web page through your service's SSH connection. It does not need a claim code. Use it if the other methods do not work for you.

Video: 2 minutes 46 seconds, with English narration. Open the video directly.

1. Find Your Plex Port and SSH Details

Open Apps → Plex → Show details. The second address is the local Plex URL. Its port is the number after the colon. For example, http://127.0.0.1:32001/web uses port 32001.

On the Information tab, the FTP & SSH details card shows your service hostname, username and password. Use those service credentials for SSH.

2A. Windows: Create the Tunnel in PuTTY

  1. Open PuTTY. On Session, enter your service hostname and select SSH, normally on port 22.
  2. In the left menu, expand Connection → SSH → Tunnels.
  3. Set Source port to your Plex port, for example 32001.
  4. Set Destination to 127.0.0.1:32001, replacing 32001 with your actual Plex port. Keep Local and Auto selected, then choose Add.
  5. Return to Session, give the session a name and choose Save, then Open.
  6. On the first connection, verify the server's host key before accepting it. Sign in with your service username and password, then leave the SSH window open.

PuTTY local SSH tunnel with the Plex port forwarded to 127.0.0.1

2B. macOS or Linux: Create the Tunnel in Terminal

As an alternative to PuTTY, open Terminal and run:

ssh -L PLEX_PORT:127.0.0.1:PLEX_PORT USER@HOST

Replace PLEX_PORT in both places with your Plex port, USER with your service username and HOST with your service hostname. For example:

ssh -L 32001:127.0.0.1:32001 user@server.seedhost.eu

Verify the host key on the first connection, enter your service password and leave the terminal open. Use the SSH port shown for your service if it differs from 22.

3. Open the Local Plex Page and Claim the Server

  1. With the tunnel connected, open http://127.0.0.1:PLEX_PORT/web in the browser on your computer. Replace PLEX_PORT with your port; for the example above, use http://127.0.0.1:32001/web.
  2. Select More in Plex's sidebar and point at your server.
  3. Open the server's three-dot menu → Manage Server → Settings.
  4. On the server's General settings page, choose Claim Server and sign in with your Plex account.

Plex server General settings with the Claim Server button

The local page may open without a sign-in prompt. Use Claim Server in the server settings rather than waiting for a setup wizard to appear.

Once the settings show Server claimed by your account, check Remote Access. The message Fully accessible outside your network confirms remote access is working.

Plex Remote Access showing Fully accessible outside your network

You can now close the SSH tunnel and use your normal Plex URL or app.plex.tv.

If your service includes VNC and you prefer it, follow the VNC connection guide, open the local Plex URL in the browser inside the VNC session and use the same Claim Server steps above.


After Claiming: Access Plex and Check Remote Access

Use the Plex URL shown under Apps → Plex → Show details, or sign in at app.plex.tv with the account used to claim the server. You can then add libraries and use your server from supported Plex apps.

In Plex, open your server's Settings → Remote Access. Look for Fully accessible outside your network.

If Your Server Is Missing or Unreachable

  • Method 1: get a fresh code, use Claim and complete the Restart step. Verify the server in Plex.
  • Method 2: check the exact filename and folder, replace an expired code and choose Update. Delete claimplex.txt manually after success.
  • Wrong account: confirm that you signed in to Plex with the same account that generated the claim code.
  • Remote Access is unavailable: check the address and port shown in your Client Area. If it still fails, open a support ticket so we can check your service.

Related guide: Connect and transfer files with FileZilla. Further information: Plex's Remote Access guide.

Was this answer helpful? 548 Users Found This Useful (1009 Votes)