Install Plex on a VPS
Plex installs on a Linux VPS from Plex's Ubuntu .deb package and runs on port 32400 under systemd. Claim it through an SSH tunnel, because first-time setup refuses a public IP. Direct play needs about 1 vCPU and 2 GB RAM. Since April 2025, remote video playback needs Plex Pass or a Remote Watch Pass.
For people who own a media library and want it on a rented Linux server instead of a home PC, including the licence costs Plex now adds.
knowledge
- Read time
- 4 min
- Sections
- 9
- Updated
- 14 Nov 2026
- Written by
- WebJi® team
Last editorial update: 14 November 2026.
What a Plex VPS can and cannot stream
A VPS runs Plex Media Server, the software that indexes and streams a library you already own. It ships no media, and without a GPU every conversion happens on the CPU. Point it at files you have the right to use.
- Direct play sends the original file untouched; the server only has to move bytes.
- Transcoding converts the file for a client that cannot play it, and that is the CPU cost.
- A VPS has no GPU by default, so hardware transcoding needs a plan that exposes one.
- Plex Pass is Plex’s own paid tier; nothing on this page is included with a WebJi® server.
Do you need Plex Pass to stream from a Plex VPS?
Usually yes: since 29 April 2025, remote video playback from any Plex Media Server needs a Plex Pass on the server admin’s account, or a Plex Pass or Remote Watch Pass on the viewer’s account. Plex counts playback as remote whenever the app cannot connect on the same local network and subnet, and a VPS in a data centre is never on your home network.
- Admin has Plex Pass: every user you share libraries with can stream video remotely.
- Only you watch: a Remote Watch Pass on your account is enough, without the other Plex Pass features.
- Music and photos: streaming to Plexamp or Plex Photos stays free and is not restricted.
- Affected apps: Plex lists Android, iOS, PlayStation, Xbox, Roku, smart TVs, the desktop apps and the web app, and says all platforms will eventually follow.
Price the subscription in before you rent a server for Plex alone. If you want a media server with no licence fee for remote streaming, compare Jellyfin vs Plex first.
How big should a Plex VPS be for direct play or transcoding?
Direct play of one 1080p stream fits 1 vCPU and 2 GB RAM. Every software transcode adds roughly a 2,000 PassMark core, so the second and third simultaneous converter is what forces a bigger plan.
| Use | CPU | RAM | Disk |
|---|---|---|---|
| One household, direct play only | 1 vCPU | 2 GB | Library size plus 10 GB |
| Two or three 1080p transcodes | 2 to 4 vCPU | 4 GB | Library size plus 20 GB |
| 4K transcoding, no GPU | Not practical | 8 GB | Large; use direct-play clients |
Metadata, artwork and thumbnails live beside the database, not inside the media folders. A 1,000-film library can add tens of gigabytes there, and a full disk stops library scans first.
How to install Plex Media Server on an Ubuntu VPS
Plex publishes a Debian package for Ubuntu, so the first install needs no third-party PPA. Copy the current amd64 link from the Plex downloads page for Linux before you start, because the version string changes with every release.
sudo apt update && sudo apt install -y curlwget https://downloads.plex.tv/plex-media-server-new/VERSION/debian/plexmediaserver_VERSION_amd64.deb— replace VERSION with the link Plex gives you.sudo dpkg -i plexmediaserver_*.deb— thensudo apt -f installif dpkg reports missing dependencies.sudo systemctl enable --now plexmediaserversudo systemctl status plexmediaserver— you wantactive (running), not activating.
Plex listens on TCP 32400 and keeps its database in /var/lib/plexmediaserver. That folder, not the media folder, is what a backup has to capture.
How to claim a Plex server on a VPS through an SSH tunnel
Plex only finishes first-time setup when the browser looks local, so opening http://SERVER_IP:32400/web from your laptop shows a claim error. Forward the port instead.
- On your laptop run
ssh -L 8888:localhost:32400 user@SERVER_IP -Nand leave that terminal open. - Open
http://localhost:8888/webin the browser. - Sign in with your Plex account, name the server, and finish the wizard.
- Close the tunnel. The server stays claimed to your account and is reachable normally afterwards.
If the tunnel window closes before the wizard finishes, the claim fails and the same error returns. Start the tunnel again rather than reinstalling.
Add libraries and name files so Plex matches them
Plex matches by folder and file name. A tidy tree gives you posters and episode data on the first scan; a flat folder of renamed files gives you a wall of blank tiles.
sudo mkdir -p /media/movies /media/tvsudo chown -R plex:plex /media— the service runs as the plex user and cannot read root-owned files.- In Plex open Settings, then Libraries, then Add Library, and point Movies at
/media/moviesand TV at/media/tv. - Name films
Title (Year)/Title (Year).mkvand episodesShow/Season 01/Show S01E01.mkv.
How to open Plex port 32400 in both firewalls
Two firewalls sit between a client and Plex: the provider's network firewall and ufw on the server. Both have to allow TCP 32400, or remote access shows as unavailable while the local web UI keeps working.
- Add an inbound rule for TCP 32400 in the provider control panel, scoped to the IPs that should connect if you can.
- On the server,
sudo ufw allow 32400/tcp, thensudo ufw statusto confirm the rule is listed. - In Plex, open Settings, then Remote Access, and confirm it shows green. Use a manual port of 32400 if the automatic check fails.
- Optional: put nginx in front with
proxy_pass http://127.0.0.1:32400and add a certificate withcertbot --nginx, as in Certbot SSL for Nginx.
How much bandwidth and transfer does a Plex VPS use?
One 1080p stream runs 8 to 25 Mbps, and a 4K remux can pass 60 Mbps. Multiply by the number of people watching before you assume a home connection can serve them.
Most Indian home plans advertise fast download and a much smaller upload. Four remote viewers at 10 Mbps need 40 Mbps of upload from wherever the files sit, which is why a library kept at home often streams badly while the same library on a server with a fast symmetric uplink does not.
Transfer caps are monthly, not per stream. At 8 Mbps one viewing hour is about 3.6 GB, so a 4 TB allowance is roughly 1,100 hours before the cap. WebJi Plex hosting and VPS hosting are quoted by email before payment, with the plan chosen from the stream count and library size.
How to fix common Plex problems on a VPS
| Symptom | Cause | Fix |
|---|---|---|
| Claim error at first load | setup opened from a public IP | Use the SSH tunnel to localhost:8888/web |
| Remote access stays red | 32400 closed in one of the two firewalls | Open it in the panel and in ufw, then retest |
| Files listed but never play | media owned by root | sudo chown -R plex:plex /media |
| Library scan stops halfway | disk full from metadata and thumbnails | df -h, then add a disk or move the data folder |
| Buffering on every client | upload bandwidth or a forced transcode | Play the original quality, or move the server closer |
Email support@webji.services with the Ubuntu release, the systemctl status plexmediaserver output and the exact client error. Support is 24/7 by email in Hindi and English, and the average first reply is under 60 minutes. The office phone is business hours only and is not a support line.
Frequently asked questions
How much RAM does a Plex VPS need?
2 GB is enough for direct play of one or two streams. Plan on 4 GB once Plex transcodes 1080p, because the transcoder buffers in memory and the library scanner runs beside it.
Why can't I open Plex at my server IP port 32400?
First-time setup only completes from a local address. Run ssh -L 8888:localhost:32400 user@SERVER_IP -N on your laptop, then open http://localhost:8888/web and finish the wizard.
Can a VPS transcode 1080p without a GPU?
Yes, at roughly one 2,000 PassMark core per stream. Two converters need a plan with two or more modern vCPUs, and 4K software transcoding is not realistic on a CPU-only VPS.
How much bandwidth does one Plex stream use?
About 8 to 25 Mbps for 1080p, depending on the bitrate of the file. Four viewers at 10 Mbps need 40 Mbps of upload, which is the figure most home connections fail.
Does Plex need a domain name?
No. Plex apps sign in through your Plex account and find the server by its claim. A domain only helps if you put a reverse proxy and certificate in front of port 32400.
Last editorial update: 14 November 2026.
Ready to get started with WebJi®?
Join 12,000+ businesses across India and overseas. INR pricing, 18% GST shown before payment and 24/7 email support in Hindi and English — average first reply under 60 minutes.