Option 1: a server on your own PC
On Windows, the server comes with the game: TerrariaServer.exe is in Terraria's folder, which Steam opens from the game's properties under its local files. On Linux and macOS you download the dedicated server from terraria.org. The official wiki's server guide covers each system step by step.
Start TerrariaServer
It asks which world to load, or creates a new one: small, medium or large.
Set the players, port and password
The defaults are port 7777 and 16 players, and you can set up to 255. A password keeps strangers out.
Open the port
For friends outside your home, forward TCP port 7777 on your router to your PC. If you can't, a VPN such as Hamachi or Radmin VPN works, but every player has to install it.
Share the address
Friends choose Multiplayer, then Join via IP, and enter your public IP and the port.
Port forwarding works the same way for any game; our guide for Minecraft walks through the router side. Opening ports, step by step.
Vanilla, TShock or tModLoader?
| What it is | Players join with | |
|---|---|---|
| Vanilla | Re-Logic's own dedicated server, unchanged | The normal game |
| TShock | Vanilla plus server-side characters, anti-cheat, groups, permissions, item bans, admin commands and plugins | The normal game |
| tModLoader | Mods, from small tweaks to big content mods like Calamity | tModLoader, free on Steam, with the same mods |
TShock and tModLoader don't mix: TShock runs plugins on the server for players with the normal game, while tModLoader runs mods that every player installs too. If it's a modded playthrough with friends, it's tModLoader. tModLoader hosting, with the RAM each modpack needs.
How much RAM a Terraria server needs
Usually less than Minecraft, because one world is loaded at a time. But it's loaded whole: Terraria keeps the entire world in memory, so a large world weighs more than a small one even when nobody's exploring. Players add little; tModLoader mods add a lot. From our Terraria calculator, which counts TShock like vanilla:
| Your server | RAM to start with | Plan that fits | Price |
|---|---|---|---|
| Vanilla, small world, 4 players | 1 GB | $1.50/month | |
| Vanilla, medium world, 8 players | 1 GB | $1.50/month | |
| Vanilla, large world, 8 players | 1.5 GB | $3.00/month | |
| TShock, large world, 16 players | 1.5 GB | $3.00/month | |
| TShock, large world, 32 players | 2 GB | $6.00/month | |
| tModLoader, 25 mods, medium world, 6 players | 3.5 GB | $6.00/month |
Option 2: a hosted Terraria server
A host runs the same server software on a machine that doesn't sleep: the world stays up when you log off, and nobody needs your home IP. On ours:
- Pick the software when you order: Vanilla, TShock, TShock Legacy or tModLoader. The panel's software updater changes it later; back up your world first.
- Bring your world: upload its
.wldfile with the panel's file manager or over SFTP, or let the server create a new one. - Players join with the address from the panel, from Multiplayer and Join via IP, like any other server.
- DDoS protection is included, on the same Ryzen 7 9700X and DDR5 ECC memory as our Minecraft servers.
| Plan | RAM | CPU | NVMe | Price |
|---|---|---|---|---|
| 1 GB | 1 vCore | 15 GB | $1.50/month | |
| 2 GB | 1.5 vCores | 25 GB | $3.00/month | |
| 4 GB | 2 vCores | 40 GB | $6.00/month | |
| 6 GB | 2.5 vCores | 55 GB | $9.00/month | |
| 8 GB | 3 vCores | 70 GB | $12.00/month | |
| 10 GB | 3.5 vCores | 85 GB | $15.00/month | |
| 12 GB | 4 vCores | 100 GB | $18.00/month |
If you remember one thing
For a weekend with friends, TerrariaServer on your own PC is enough. For a world that stays up when you log off, host it: pick Vanilla, TShock or tModLoader for your group, and size the plan by the world and the mods, not the players.
Questions people ask
TCP port 7777 by default. At home you forward it on your router; on a hosted server it's already reachable.
The dedicated server allows 16 by default, and you can raise it to 255.
No. Everyone needs tModLoader and the same mods as the server. TShock is different: players join it with the normal game.
Our calculator puts a vanilla server with a medium world and 8 players at 1 GB, and a large world at 1.5 GB. tModLoader packs need several GB.
About this article: It comes from what I have learned running EnduranceNodes, and it is published here first. We sell Minecraft hosting, so everything I say about us can be checked on this site, and I point out where we are not the best fit.
