TeamSpeak Server Installation Guide 2026 | Best Discord Alternative for Gaming & VPS Hosting
Although Discord remains one of the most popular voice communication platforms, many gaming communities, esports organizations, and businesses continue to choose TeamSpeak because of its exceptional stability, minimal latency, and complete infrastructure control. Unlike cloud-based communication platforms, TeamSpeak allows you to host your own server on a VPS or dedicated machine, giving you full ownership over voice traffic, user permissions, and stored data.
This guide explains how to install and configure a TeamSpeak Server on Ubuntu 22.04 and Ubuntu 24.04. You'll also learn how to secure the server, configure the firewall, manage the service with systemd, and troubleshoot common issues after deployment.
Who is this guide for?
Whether you're building a private voice server for friends or deploying enterprise communication infrastructure, this tutorial covers the complete installation process.
- Gaming communities migrating from Discord.
- Esports teams that require ultra-low latency voice communication.
- Businesses that prefer self-hosted communication infrastructure.
- Linux administrators deploying TeamSpeak on VPS or dedicated servers.
- Developers who need full control over server permissions and configuration.
Why choose TeamSpeak instead of Discord?
Discord is an excellent solution for everyday communication, but TeamSpeak remains the preferred choice when performance, privacy, and server ownership are top priorities. Hosting your own TeamSpeak server provides complete control over data, network configuration, security policies, and permission management.
- Extremely low voice latency for real-time communication.
- High-quality audio even on unstable internet connections.
- Complete ownership of your server, data, and configuration.
- Advanced permission system with fine-grained access control.
- Low CPU and memory consumption.
- Self-hosting on VPS, dedicated servers, or private infrastructure.
- No dependence on third-party cloud services.
Minimum system requirements
TeamSpeak has very modest hardware requirements and runs smoothly even on entry-level virtual servers. The following configuration is sufficient for most small and medium-sized communities.
| Requirement | Recommended Minimum |
|---|---|
| CPU | 1 vCPU |
| Memory | 1 GB RAM |
| Storage | 10 GB SSD or NVMe |
| Operating System | Ubuntu 22.04 LTS or Ubuntu 24.04 LTS |
| Network | Stable Internet connection with a public IP address |
For larger communities with hundreds of active users, allocating additional CPU resources and memory is recommended to ensure stable performance during peak activity.
| Port | Protocol | Purpose |
|---|---|---|
| 9987 | UDP | Voice communication |
| 30033 | TCP | File transfers |
| 10011 | TCP | ServerQuery API |
Step 1. Connect to the server via SSH
Connect to your Ubuntu server using SSH. Replace the example values with your own username and server IP address.
ssh username@your_server_ipOnce connected, update the operating system to install the latest security patches and package versions.
sudo apt update && sudo apt upgrade -yInstall the utilities required to download and extract the TeamSpeak Server archive.
sudo apt install wget bzip2 -yKeeping the operating system updated before installing new software helps prevent compatibility issues and improves overall server security.
Step 2. Create a dedicated TeamSpeak user
For security reasons, TeamSpeak should never run as the root user. Instead, create a dedicated system account with limited privileges.
sudo useradd -r -m -d /opt/teamspeak -s /bin/false teamspeakThis account owns the TeamSpeak files while preventing interactive shell access, reducing the potential attack surface.
Switch to the temporary directory before downloading the installation package.
cd /tmpStep 3. Download TeamSpeak Server
Before downloading the installation package, check the official TeamSpeak website to verify that you're using the latest server release. Running the newest version ensures access to recent security updates, bug fixes, and performance improvements.
Download the archive:
wget https://files.teamspeak-services.com/releases/server/3.13.7/teamspeak3-server_linux_amd64-3.13.7.tar.bz2Extract the downloaded archive.
tar xjf teamspeak3-server_linux_amd64-3.13.7.tar.bz2Move all extracted files into the installation directory.
sudo mv teamspeak3-server_linux_amd64/* /opt/teamspeak/Assign ownership of the installation directory to the dedicated TeamSpeak account.
sudo chown -R teamspeak:teamspeak /opt/teamspeakThe TeamSpeak Server files are now installed and ready for the initial configuration.
Step 4. Accept the license agreement
Create a license confirmation file:
sudo -u teamspeak touch /opt/teamspeak/.ts3server_license_acceptedStep 5. Create a systemd service
Create the service file:
sudo nano /etc/systemd/system/teamspeak.serviceAdd the following configuration:
[Unit]
Description=TeamSpeak Server
After=network.target
[Service]
WorkingDirectory=/opt/teamspeak
User=teamspeak
Group=teamspeak
ExecStart=/opt/teamspeak/ts3server_startscript.sh start
ExecStop=/opt/teamspeak/ts3server_startscript.sh stop
PIDFile=/opt/teamspeak/ts3server.pid
Restart=always
RestartSec=15
[Install]WantedBy=multi-user.target
Save changes and run:
sudo systemctl daemon-reload
sudo systemctl enable teamspeak
sudo systemctl start teamspeakCheck service status:
sudo systemctl status teamspeakStep 6. Open required ports
If UFW is used, run:
sudo ufw allow 9987/udp
sudo ufw allow 30033/tcp
sudo ufw allow 10011/tcp
sudo ufw reload
Step 7. Retrieve the admin token
On first startup, TeamSpeak generates a privileged token.
You can find it in the logs:
sudo journalctl -u teamspeak | grep tokenCopy the generated token.
Open the TeamSpeak client and connect to the server:
IP_ADDRESS_OF_SERVER:9987Then paste the admin token.
Useful TeamSpeak management commands
| Action | Command |
|---|---|
| Start server | sudo systemctl start teamspeak |
| Stop server | sudo systemctl stop teamspeak |
| Restart server | sudo systemctl restart teamspeak |
| Check status | sudo systemctl status teamspeak |
| View logs | sudo journalctl -u teamspeak -f |
TeamSpeak server security recommendations
- Disable root password login and use SSH keys instead.
- Regularly update the operating system and TeamSpeak to the latest versions.
- Open only necessary ports and close unused services.
- Restrict ServerQuery API access by IP address.
- Use strong passwords for administrator accounts.
- Regularly create backups of server configuration and database.
- Set up Fail2Ban to protect against brute-force attacks.
Common TeamSpeak installation issues
Server does not appear in the client
Check whether port 9987/UDP is open in your firewall and cloud control panel.
Cannot connect via ServerQuery
Ensure that port 10011/TCP is accessible and not blocked by security rules.
Admin token not displayed
Check service logs:
sudo journalctl -u teamspeak -n 100Service does not start after reboot
Check whether autostart is enabled:
sudo systemctl is-enabled teamspeakIf the output is disabled, enable it:
sudo systemctl enable teamspeakTeamSpeak vs Discord: which to choose
| Parameter | TeamSpeak | Discord |
|---|---|---|
| Server hosting | Self-hosted or VPS | Discord cloud infrastructure |
| Data control | Full | Limited |
| Voice latency | Minimal | Depends on region |
| Permission system | Highly flexible | Basic |
| Resource requirements | Low | N/A |
| Launch cost | Requires VPS | Free |
Discord is suitable for quick start and everyday communication, while TeamSpeak is the optimal choice for gaming communities, esports teams, and organizations that require stability, low latency, and full infrastructure control.
Deploy TeamSpeak on Serverspace cloud
If you want to launch your own voice server in minutes, use Serverspace cloud infrastructure.
- Create a virtual server in minutes.
- Pay-as-you-go billing.
- High-performance NVMe storage.
- Data centers in multiple regions worldwide.
- Preconfigured Linux templates.
- Scalable resources without data migration.
Simply create an Ubuntu server, connect via SSH, and follow this guide.
Conclusion
TeamSpeak remains one of the best solutions for voice communication when stability, minimal latency, and full infrastructure control are important.
Setting up your own server takes less than 30 minutes, while cloud deployment eliminates the need for physical hardware and maintenance.
If you are looking for a Discord alternative for gaming communities, corporate teams, or esports projects, TeamSpeak is still an excellent choice.
FAQ
Why should I use TeamSpeak instead of Discord for my community?
TeamSpeak offers lower latency, higher audio stability, and full control over your server infrastructure. Unlike Discord, which runs on centralized cloud systems, TeamSpeak can be self-hosted on a VPS or dedicated server, giving you complete ownership over data, permissions, and network configuration.
What are the system requirements for running a TeamSpeak server?
TeamSpeak is lightweight and can run on very modest hardware. For most small communities, 1 vCPU, 1 GB RAM, and 10 GB SSD storage are enough. Larger communities with hundreds of users may require additional CPU and memory resources to maintain stable performance under load.
How do I connect to my TeamSpeak server after installation?
After setup, you connect using the TeamSpeak client by entering your server’s public IP address and UDP port 9987. On first login, you will be prompted to enter an admin token generated in the server logs, which grants initial administrative access.
What are the most important security steps after installing TeamSpeak?
Key security practices include disabling root SSH login, using SSH keys instead of passwords, enabling a firewall with only required ports (9987 UDP, 30033 TCP, 10011 TCP), regularly updating the server, restricting ServerQuery access by IP, and setting up automated backups to prevent data loss.