playeraudio.
HOST YOUR COMMUNITY

A place for
your people.

Set up a PlayerAudio server, create your channels, and invite your friends. We’ll walk you through it.

Start with the basics
CHOOSE YOUR COMPUTER

Get the server

You only need this download on the computer that will host your community.

Windows

For a Windows PC or server

Download Windows server ↓10.9 MB · 0.2.0-rc.32 · 64-bit Intel / AMD
Verify this download

Compare the SHA-256 checksum of the downloaded file with the value below.

Get-FileHash playeraudio-server-0.2.0-rc.32-windows-x64.zip -Algorithm SHA256
ba476dd919d58050a744f554cef3efb16c8a4f348f2cd742b5026b66fe72b8a8

Linux

For a Linux server

Download Linux server ↓9.8 MB · 0.2.0-rc.32 · 64-bit Intel / AMD
Verify this download

Compare the SHA-256 checksum of the downloaded file with the value below.

sha256sum playeraudio-server-0.2.0-rc.32-linux-x64.tar.gz
7de6705b7e9988a31923ff5b4b8ddaf8b353d3dcaf5f6592a886d4e814b7f713

Before you start

A server is your community’s home: it holds your channels and stays available while you and your friends use PlayerAudio. The computer running it needs to stay switched on and connected to the internet.

To join someone else’s community, you only need the PlayerAudio app. This guide is for people who want to host their own.

Have these ready before starting:

  • A 64-bit Windows computer or a Linux server you control. A rented server is useful if you want your community available all day.
  • A server address, such as chat.yourdomain.com, pointing to that computer.
  • A security certificate for that address. You can get one for free with Let’s Encrypt by following the steps below.
  • Permission to allow incoming connections through your computer’s firewall and, if you host at home, your router.

Hosting currently uses terminal commands. If addresses or firewall settings are unfamiliar, ask your hosting provider or someone who manages your network to help. Voice relay setup is included; the steps below cover the address, certificate and connections it needs.

Open the right ports

A port is a numbered entrance to your server. Chat and calls use different entrances. Allowing the chat port alone will not let every voice call through.

For the setup in this guide, allow these incoming connections:

  • TCP 8788 — your community’s secure chat connection.
  • UDP and TCP 8789 — the voice relay, used when people cannot connect directly.
  • TCP 8790 — the voice relay’s secure connection. The certificate setup below enables this too.
  • UDP 40000–49999 — the audio and video carried by the relay. Allow the whole range.
  • TCP 80 — Let’s Encrypt checks your address here when issuing and renewing the certificate. Keep this rule available for future renewals.

Apply these rules in your computer’s firewall and your hosting provider’s firewall. If you host at home, forward the same ports, with the same numbers and protocols, from your router to the hosting computer. Keep its local address fixed. Opening a port on the computer does not open it at the provider or router.

The included voice relay needs a reachable public IPv4 address. If your internet provider uses shared addressing, ask for a public address or use a rented server. Allow outgoing internet connections as well, including HTTPS for account checks and certificate renewal, DNS for address lookups, and UDP for voice traffic and relay discovery.

Linux firewall example

If you already use UFW, run these commands. They add rules without disabling the firewall or changing your existing remote-access rules:

sudo ufw allow 8788/tcp
sudo ufw allow 8789/udp
sudo ufw allow 8789/tcp
sudo ufw allow 8790/tcp
sudo ufw allow 40000:49999/udp
sudo ufw allow 80/tcp
sudo ufw status

If UFW says inactive, use your existing firewall or have your provider help enable one while preserving remote access. The PlayerAudio installer adds voice rules to an active UFW or firewalld firewall; the chat and certificate ports still need their own rules. Provider firewalls are always separate.

Windows firewall example

Open PowerShell as administrator and add the chat and certificate rules:

New-NetFirewallRule -DisplayName "PlayerAudio chat" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 8788
New-NetFirewallRule -DisplayName "PlayerAudio certificate renewal" -Direction Inbound -Action Allow -Protocol TCP -LocalPort 80

After creating your instance, the Windows setup below shows how to add the voice rules. Apply all five entries above at your provider or router too.

Different ports or an existing web server

If you choose a different chat port, the default voice ports are the next two numbers. For example, chat on TCP 8443 uses UDP/TCP 8444, TCP 8445, and the same UDP 40000–49999 range. Give separate communities at least three ports each, such as chat ports 8788 and 8791.

If you already run PlayerAudio behind an HTTPS proxy such as Caddy, allow TCP 80 and 443 for that proxy. Its internal chat port can stay private. The voice ports still need to reach PlayerAudio directly. A proxy’s certificate alone does not enable the secure voice port: without certificate files on the PlayerAudio instance, its relay uses UDP/TCP 8789, and 8790 is not listening.

Get a free certificate

Let’s Encrypt provides the certificate that lets people connect securely. Choose your operating system below. If you already have a trusted certificate and renewal arranged, continue to Install and start.

Prepare your address

In your domain provider’s DNS settings, add an A record for chat.yourdomain.com pointing to the server’s public IPv4 address. Replace this example address everywhere in the commands with your own. Use a direct, DNS-only record if your provider offers a web proxy.

The examples below serve PlayerAudio over IPv4. Leave the AAAA record absent unless you have separately configured this server to accept IPv6 connections too. A wrong IPv6 address can prevent certificate checks even when IPv4 works.

The instructions below use port 80 to prove that you control the address. It must be reachable from the internet. If another website already uses that port, ask its administrator to use the existing certificate service or a DNS-based certificate check. Do not stop an unrelated website to follow this guide. DNS-based checks can avoid port 80, but do not replace the chat and voice ports.

Let’s Encrypt on Linux

These commands are for Debian 12 or newer and Ubuntu 24.04 or newer. Install Certbot, the tool that obtains and renews the certificate:

sudo apt update
sudo apt install certbot
sudo certbot certonly --standalone --cert-name chat.yourdomain.com -d chat.yourdomain.com

Follow Certbot’s prompts to register and review the terms. When it succeeds, your files are:

  • Certificate: /etc/letsencrypt/live/chat.yourdomain.com/fullchain.pem
  • Private key: /etc/letsencrypt/live/chat.yourdomain.com/privkey.pem

Use these paths in Linux setup below. PlayerAudio copies them privately; you do not need to change permissions on Certbot’s folders. After starting the community, complete Automatic certificate renewal under Keep your community running so renewed certificates also reach PlayerAudio.

Let’s Encrypt on Windows

Download win-acme from its official website, https://www.win-acme.com/, and extract it to a permanent folder. Run wacs.exe as administrator and choose Create certificate with full options. Enter your server address manually, choose the HTTP self-hosting check, and choose PEM files for storage. No website installation step is needed.

Save the files in a private folder such as C:\Certificates. Choose an unencrypted key file, and restrict folder access to administrators and the Windows account running PlayerAudio. Use the file ending in -chain.pem as the certificate and -key.pem as the private key; the certificate must include its chain. For example:

.\playeraudio.ps1 run main -Port 8788 -BindAddress 0.0.0.0 -PublicHostname chat.yourdomain.com -Certificate C:\Certificates\chat.yourdomain.com-chain.pem -PrivateKey C:\Certificates\chat.yourdomain.com-key.pem

Run this only after creating the instance in Windows setup. Let win-acme create its renewal task and check that it succeeds in Windows Task Scheduler. After a renewal, stop and start your PlayerAudio instance to load the new certificate. The portable Windows server does not automatically restart itself when a certificate renews.

Install and start

Choose your computer below. Set up one community first; you can manage its name, channels, and access in PlayerAudio after connecting.

Windows setup

Download the Windows server above and extract the ZIP into a folder you can keep. It supports 64-bit Windows 10/11 and Windows Server 2022 or later. The current preview does not have a verified Windows publisher signature; only use the official download if you trust it.

Open that folder in PowerShell. Run this command, replacing My community with your community’s name:

.\playeraudio.ps1 create main -CommunityName "My community"

The command prints the location of a file named setup-code.txt. You will use it to claim your server under Connect and claim your server. Keep this code private.

Use the certificate and private key from your provider or the Let’s Encrypt steps above. Replace the two example paths below with their actual locations, then start your server:

.\playeraudio.ps1 run main -Port 8788 -BindAddress 0.0.0.0 -PublicHostname chat.yourdomain.com -Certificate C:\Certificates\fullchain.pem -PrivateKey C:\Certificates\privkey.pem

Allow incoming TCP connections on port 8788 in Windows Firewall and any hosting-provider firewall. At home, your router also needs to forward that port to this computer. Your server address will look like https://chat.yourdomain.com:8788.

The voice relay starts with your server. Run PowerShell as administrator once and use .\playeraudio.ps1 relay main -Port 8788 to add its Windows Firewall rules. For this setup, allow UDP/TCP 8789, TCP 8790, and UDP 40000–49999 in your router or provider firewall too. Restart the server after enabling the relay.

Keep the PowerShell window open while your community is running. Press Ctrl+C to stop it. To start it again, run the second command again. It does not start automatically when Windows restarts.

If PowerShell says scripts are blocked, ask the person managing the computer to help with its script policy. Do not disable your computer’s security protections to continue.

Linux setup

Use a 64-bit Intel or AMD server running Debian 12 or newer, or Ubuntu 24.04 or newer, with administrator access. Other distributions need glibc 2.36 or newer and systemd. ARM servers and Alpine Linux are not supported by these downloads.

The installer needs curl, jq, openssl, flock, tar, coreutils, useradd, and iproute2. On Debian or Ubuntu, install the required packages:

sudo apt update
sudo apt install curl jq openssl util-linux tar coreutils passwd iproute2

In the server’s terminal, download the installer and its verification file:

curl -fSLo install.sh https://playeraudio.net/downloads/server/0.2.0-rc.32/install.sh
curl -fSLo release-public.pem https://playeraudio.net/downloads/server/0.2.0-rc.32/release-public.pem
openssl pkey -pubin -in release-public.pem -outform DER | openssl dgst -sha256

Before continuing, check that the final command prints this fingerprint. If it differs, stop and download the files again from this page:

60d660ff52e13471cf86a3b10a0ae02aba1af1c3f4733da13f9389baff1e61ab

Install PlayerAudio, then create your community. The example uses the Let’s Encrypt files from above. Replace chat.yourdomain.com and My community with your own details; use different certificate paths if your provider supplied them:

sudo sh install.sh https://playeraudio.net/updates/server/linux-x64/manifest.json release-public.pem
sudo playeraudio create main chat.yourdomain.com 8788 "My community" --tls /etc/letsencrypt/live/chat.yourdomain.com/fullchain.pem /etc/letsencrypt/live/chat.yourdomain.com/privkey.pem
sudo playeraudio status main

Allow incoming TCP connections on port 8788 in your server and provider firewalls. Your address will look like https://chat.yourdomain.com:8788. The server starts automatically, including after a restart.

The voice relay starts automatically. Setup adds its rules to an active UFW or firewalld firewall. Your provider firewall or router also needs UDP/TCP 8789, TCP 8790, and UDP 40000–49999. These voice ports are separate from the secure chat connection.

The setup code is in /var/lib/playeraudio/instances/main/data/setup-code.txt. Read it with administrator access and keep it private. You will use it in the next step.

Connect and claim your server

Open PlayerAudio and sign in. Add your server using the full address, including https:// and the port if you chose one, then connect.

Use the code from setup-code.txt to claim ownership when prompted. This gives your account the server controls. The code is for you, not for inviting friends.

In Server settings, choose your community’s name and appearance, create your channels, and set who can access them. You can add a server password under Access. This is separate from your PlayerAudio account password.

Organize your channels

With an up-to-date server and app, you can group channels into categories. Drag channels and categories to rearrange them, or use Alt+Up/Down. When you move a channel, choose whether it follows the category’s permissions or keeps its own. Removing a category keeps its channels and messages.

Moderate your community

With app 0.1.24 and server 0.2.0-rc.7 or newer, open Server settings and give trusted roles the Kick members or Ban members permission. Right-click a person to choose an action, add an optional reason, and confirm. Both actions remove all of their connections to this server, including voice. A kicked person can join again; a banned person must first be unbanned in Server settings → Bans. Moderators can act on lower roles; the owner is protected.

Bans are saved with your server data. Keep a complete backup before updating. Do not downgrade below server 0.2.0-rc.7 while you rely on bans, because older versions do not enforce them.

Invite your people

Share the server address with your friends and ask them to add it in PlayerAudio. If you set a server password, share that separately with the people you want to invite.

Use the server’s discovery settings to choose whether it appears in the public server browser. An unlisted server can still be joined by people who have its address and the required access.

Test with a friend on a different internet connection before inviting everyone. Check that they can connect, see the right channels, and join a voice call.

Keep your community running

Make regular backups and keep them somewhere private. Before an update, make a fresh backup. Your server’s data folder contains information needed to restore your community; losing it can mean losing that community’s data.

Keep your security certificate renewed so people can continue connecting. Your hosting provider or certificate service can help arrange this.

Back up your server

On Windows, stop the server with Ctrl+C and wait for it to exit. Copy the whole %LOCALAPPDATA%\PlayerAudioServer\instances\main\ folder to a private, encrypted backup location. If you chose a different data folder, use that instead. Start the server again after the copy finishes.

On Linux, run:

sudo playeraudio backup main

This briefly stops the community, saves a backup, and starts it again if it was running. Backups are placed in /var/lib/playeraudio/backups/main/. Copy them to a private, encrypted backup location; these backup files are not themselves encrypted archives.

Keep the whole backup together. Do not share configuration files or setup codes. Restore only while the server is stopped; an older backup will not contain changes made after it was created.

Update your server

**Upgrading from rc.20 or earlier to rc.21 requires a storage migration.** Those versions use format 1; rc.21 uses encrypted SQLite rows (format 2). The old Linux updater deliberately refuses this change. Do not change the signed manifest or bypass that check. Have your server administrator verify the new signed package, stop the instance, back up its complete data folder and configuration, and rehearse the migration on a private copy before switching the live executable. Keep public connections closed until the migrated identity, messages, permissions and restart checks pass. The ordinary update command below applies once the server already uses format 2.

After migration, back up the entire stopped data folder, including community.sqlite3 and any -wal and -shm files. The old encrypted snapshot is retained as community.pa01-backup.enc; it is not current history. community.enc becomes a marker that makes old binaries refuse to open the migrated community. Recover with a format-2 executable and the complete current data folder. Restoring a pre-migration backup after new messages arrive would lose those messages.

On Windows, download the latest Windows server from this page and check its download checksum. Extract it into a new folder. Stop your existing server and back up its data, then open PowerShell in the new folder and run:

.\playeraudio.ps1 check main

If the check succeeds, use the same run main command and certificate paths you used during setup. Use the same Windows account and data folder so the update opens your existing community. Keep the old program folder until you have confirmed the update works.

On Linux, run:

sudo playeraudio update main https://playeraudio.net/updates/server/linux-x64/manifest.json

The updater checks the download, backs up the community, and restarts that server. Invite someone to reconnect after the update to check that everything is working.

Automatic certificate renewal

For the Linux Certbot setup above, run these steps after creating and starting main. This hook installs each renewed certificate into PlayerAudio. Replace chat.yourdomain.com in the hook with the same address used earlier. If you chose a different instance name, replace main too.

sudo install -d -m 755 /etc/letsencrypt/renewal-hooks/deploy
sudo tee /etc/letsencrypt/renewal-hooks/deploy/playeraudio-main.sh >/dev/null <<'EOF'
#!/bin/sh
set -eu
[ "${RENEWED_LINEAGE:-}" = "/etc/letsencrypt/live/chat.yourdomain.com" ] || exit 0
/usr/local/bin/playeraudio certificates main "$RENEWED_LINEAGE/fullchain.pem" "$RENEWED_LINEAGE/privkey.pem"
EOF
sudo chmod 700 /etc/letsencrypt/renewal-hooks/deploy/playeraudio-main.sh
sudo systemctl enable --now certbot.timer
sudo systemctl list-timers certbot.timer
sudo certbot renew --cert-name chat.yourdomain.com --dry-run --run-deploy-hooks

The last command tests renewal and the hook without installing a test certificate. Confirm it succeeds and the timer shows a next run. Each renewal updates the chat certificate and the certificate used for new secure relay connections, without restarting the community. Keep port 80 available for future checks. Review failures with sudo journalctl -u certbot.service -n 50 --no-pager and sudo playeraudio logs main.

If several instances use the same certificate, add a separate playeraudio certificates line for each one inside the matching hook. If you use a different certificate tool or installation method, use its renewal scheduler instead of adding a second one.

Certificates from another provider

On Windows, stop the server, replace its certificate files with the renewed ones, and start it again with the same command.

On Linux, replace these example paths with your renewed files and run:

sudo playeraudio certificates main /path/to/fullchain.pem /path/to/privkey.pem

Need a hand?

Most connection problems come from an address, a closed port, or an expired certificate. Start with the checks below.

Friends cannot connect

Check that the computer and server are running. Confirm the full server address, then check Open the right ports above. A server that works only on your own Wi-Fi may still be unreachable from the internet. Your hosting provider or internet provider can help check this.

If PlayerAudio reports a certificate error, make sure the certificate matches your server address and has not expired. Use the address covered by the certificate; replacing it with the computer’s IP address may not work.

Chat works, but calls do not

Some networks cannot connect callers directly. PlayerAudio includes a voice relay that carries those community calls through your server; this uses the host’s bandwidth. Private calls between friends use PlayerAudio’s public relay instead. The call’s connection icon shows the route currently in use.

Check the voice ports under Open the right ports and test with a friend on another internet connection. A successful chat connection or a healthy server status does not prove the voice ports are reachable. The built-in relay currently needs a reachable public IPv4 address. If your provider uses shared addressing or blocks incoming connections, ask for a public address or use a suitable server host. PlayerAudio cannot change your router or hosting-provider firewall automatically.

Existing hosts with a separately configured relay keep that configuration after updating. To switch to the included relay, use sudo playeraudio relay main on Linux or .\playeraudio.ps1 relay main -Port 8788 in an administrator PowerShell on Windows. On Windows, restart the server afterward.

The server stops or cannot save

Check that the computer has enough free disk space and permission to use its data folder. Make sure another copy of the server is not already using that folder.

On Linux, sudo playeraudio status main shows whether it is running, and sudo playeraudio logs main shows recent errors. On Windows, check the PowerShell window for an error. Share only the relevant error message when asking for help; never share your setup code, private key, or configuration file.