Your Server, always on, on another machine: a VPS you rent, a dedicated server or a computer with Linux, or your NAS. It doesn’t depend on your PC. It’s set up entirely from the Windows Server, with the same wizard for all three: at the start you choose which one and it guides you through yours.
Your files, your responsibility. The Server serves what you put in it: your videos, public domain ones or ones you have the right to use, and only to the people you give access to.
01
When it suits you.
Your provider uses CGNAT and doesn't give you a public IP (see Away from home).
You don't want to leave your PC on all day.
Your libraries are in the cloud (Dropbox, OneDrive, S3, your NAS via WebDAV or Telegram) or you want a bot that's always running.
You want your videos on the server itself: a VPS with lots of disk or a dedicated server.
VPS mode is part of the full Server for Windows (not Lite or Android). On a VPS, the Server only works when activated with a PlayerStream account with Premium or Ultimate, and it counts as one of your full Servers. See Pricing.
02
What you need.
Where to install it, one of the three: a rented VPS, a dedicated server or a computer with Linux (the simplest is Ubuntu or Debian; any with apt, dnf or yum works) or a NAS with Docker (on Synology, “Container Manager”). On a normal processor (x86_64) or ARM (arm64).
Its access details: its IP, the user (root, or one that can use sudo: it also works if sudo asks for its password) and its password. On a VPS, your provider gives them to you.
On your PC, Windows' “OpenSSH Client”. If it's missing, the Server says so and installs it with “Install” (it asks for administrator permission). By hand: Settings → System → Optional features → add “OpenSSH Client”.
The open ports: the Server opens 8765 in the VPS's own firewall. But if your provider has a firewall in its control panel (sometimes called “firewall” or “security groups”), open the SSH port there (22 or the one you use) and 8765 (TCP): otherwise, the program can't reach the VPS and the apps can't reach your Server.
Your PlayerStream account with Premium or Ultimate: it's checked before installing.
03
On a dedicated server or a computer with Linux.
It’s the same as a VPS, with more room for your videos. If you rent it, its IP, its user (usually root) and its password or key come in the welcome email or in the provider’s panel.
If it’s a computer of yours with Linux, always on:
It needs the SSH server. On Ubuntu or Debian: sudo apt install openssh-server.
Its IP is shown with hostname -I (or in your router). Better give it a fixed IP in your router.
Sign in with your user and its password: the Server also uses it for sudo and doesn’t save it (it asks for it when you open the program again).
To use it away from home, open port 8765 (TCP) in your router towards that computer.
04
On a NAS.
Being tested. Tested on VPSs and Linux servers; on a NAS, still being tested: if something fails, send us the log (in the program, “Log”, under the progress bar).
On a Synology with DSM 7 (on QNAP, the same with “Container Station”). First, in the NAS panel:
Turn on SSH: Control Panel → Terminal & SNMP → “Enable SSH service”.
Install Container Manager from the Package Center. The Server doesn’t install Docker on a NAS: it uses the NAS’s own.
Turn on the users’ home folders: Control Panel → User & Group → Advanced → “Enable user home service”. Without it, the Server can’t put its key.
Have an administrator user of the NAS and its password at hand (on DSM, root can’t sign in).
The NAS IP: in Control Panel → Network or in your router.
What changes on a NAS:
Your user’s password is also used for sudo and isn’t saved: the program asks for it each time you open it again.
The NAS’s SSH isn’t touched (neither the password nor fail2ban). Against people trying passwords, use the NAS’s own: Control Panel → Security → Protection → “Auto Block”.
Your videos: the Server sees the shared folder /volume1/video (it’s changed in “Folder and space”). If it doesn’t see your videos, give “Everyone” read permission on that folder (File Station → Properties → Permission).
The NAS firewall: if you have it on (Control Panel → Security → Firewall), allow 8765 (TCP). To use it away from home, open that port in your router towards the NAS.
05
Adding it.
Open Player Stream Server. Under “Where do you want your server?”, in “A VPS, a dedicated server or a NAS”, choose “Library server” (or “Telegram bot”).
In “Where are you going to install it?”, choose “A rented VPS”, “A dedicated server or a computer with Linux” or “A NAS (Synology, QNAP…)” and click “Next”. If you pick the wrong one, the next page has “Change”.
Type its IP (like 203.0.113.10). In “User”, on a VPS root is already filled in: change it only if you were given another. On a NAS, type your administrator user.
“SSH port”: if your provider gave you another one, enter it; if not, leave it at 22.
In “How do you get into your VPS?”, choose “With a password” and type it, or “With a key I already have” and pick your private key file with “Browse…” (many VPSs come like this, without a password). On a NAS, only with a password. If you like, add a “Name for the list”.
In “Save the access on this PC”, choose: “Save (convenient)”, “Save protected” (with a passphrase it'll ask you for later) or “Don't save”. Click “Next”.
“Verify the server”: the Server shows your VPS’s fingerprint. If you want to be sure, compare it with the one your provider’s web console gives with the command it shows you (it has “Copy”). Click “It’s my remote server’s: continue”.
The password or your key, only the first time: the program gets in this way to set up its own key, and uses that one from then on. If your key is a PuTTY one (.ppk), convert it to OpenSSH first with PuTTYgen (“Conversions → Export OpenSSH key”).
06
Secure access.
In “Secure access”, the Server prepares its own key to get into your VPS without a password. You see the VPS's system and whether it has Docker (if not, it's installed).
Optional and recommended: tick “Turn off password access on the remote server (more secure)” and “Block anyone who tries passwords (fail2ban)” (if your VPS already comes without a password, or it’s a NAS, they don’t appear). Click “Prepare access”.
Save a backup of the key: type a password (8 characters or more) and click “Save backup”. Keep it somewhere safe.
If you turn off the password and lose the key, you won't be able to get into your VPS. That's why the backup. If something fails while preparing it, password access comes back on its own after 3 minutes.
07
Install and open the dashboard.
In “Install” there's nothing to type: it uses the PlayerStream account you signed in to the program with, and before installing it checks that your plan allows it.
Click “Install”. Everything needed and the Server are installed and started (if the VPS restarts, it starts by itself). The first time takes a few minutes. When it finishes, the VPS Server is activated with your account by itself.
When it's done, the VPS Server's dashboard opens, in the same window, through a secure tunnel.
If the dashboard says “The server address is missing”, confirm the one it suggests (like https://203.0.113.10:8765) and click “Confirm”.
Then create your libraries and your accesses just like at home. To see a library in the app: in the dashboard, “Access passes” → “Create access pass” → “Copy the code”, and paste it in PlayerStream, in Settings → Content → Addons → “Add”.
On the TV, without typing the code with the remote: press “Add from your phone” and follow what the TV says, or add it on your phone with your PlayerStream account: it reaches the TV by itself.
To have your videos on the VPS itself, see the next chapter. Telegram sessions (My groups and the bots’ copy) live only in its memory: after restarting or updating, sign in again.
08
Your videos there.
When installing, the Server prepares a folder there for your videos: /srv/playerstream/videos (on a Synology, its shared folder /volume1/video). In the panel it’s called “VPS videos”. The Server only reads them: it never changes or deletes them, and uninstalling it doesn’t touch them.
On the program’s home screen, in “Your servers”, press “Upload videos” next to your VPS.
Click “Choose files” or “Choose a folder” (with everything inside). Subtitles next to each video, with the same name, go with it.
In “Organize the videos” you see how each one will end up: movies in Películas/Título (Año) and series in Series/Serie/Temporada N. Fix the type, title, year, season or episode if needed, or mark “Don’t upload”. With “Rename a series” you change the title of all episodes of a series at once.
Click “Upload”. You’ll see how much is done and how much is left, and you can “Cancel”: what was being uploaded isn’t left half-done. If you upload the same again, what’s already there is skipped.
When it finishes, press “Continue”: the VPS dashboard opens. The first time, create the library with “Videos on this VPS” (the first option): its movie and series folders are added automatically. What you upload later shows up by itself.
A separate big disk? On a dedicated server or a VPS with an extra disk (for example mounted at /mnt/datos), in “Folder and space” set a folder on that disk. There you also see how much space is left. Whatever is in the previous folder isn’t moved or deleted.
You can also copy the videos to that folder with an SFTP program (WinSCP, FileZilla), using your VPS’s key backup.
09
Maintain it.
It appears in “Your servers”, on the home screen, with its type (VPS, dedicated server or NAS). From there:
“Open panel”: the VPS's dashboard, through the tunnel.
“Update server”: brings the VPS's Server up to date.
“Download backup” and “Restore backup”: the whole Server, encrypted with a password (8 characters or more).
“Key backup”: another backup of your key.
“Delete this remote server…”: removes it from the list and, if you tick the boxes, uninstalls the Server there and removes your key. It can’t be undone.
10
If something goes wrong.
“… is not an IP or a server name”: enter just the IP, like this: 203.0.113.10.
“Couldn't read the fingerprint…”: is the IP right? Is the VPS on? Does it use another SSH port?
“The remote server didn’t accept the username or password”: check them (on a VPS, in your provider’s email or panel).
“…can’t make changes as administrator (sudo)”: sign in as root, or with an administrator user and its password.
“Docker isn’t on the NAS”: install “Container Manager” from the NAS Package Center and try again.
“The key is in place but the NAS doesn’t let it in”: turn on the user home service (see On a NAS).
“THE REMOTE SERVER FINGERPRINT HAS CHANGED”: if you didn’t reinstall it yourself, stop and ask your provider.
The dashboard doesn't respond: try “Update server”.
“On a VPS, this Server only works when activated with an account with Premium or Ultimate”: it couldn’t be activated by itself (for example, your plan is already full with another device). Activate it in the dashboard, in “Your PlayerStream account”, or on the program’s home screen.
The app can’t reach the Server: open port 8765 (TCP) in the firewall on your provider’s website (at home, in your router and in the NAS firewall).