Host a Terraria server on your own PC

A dedicated Terraria server that keeps your world online for the whole group, running on a machine you already own.

Free for 1 server · Linux & Windows · Runs on your hardware

Terraria dedicated server

Terraria is a lot more fun with friends: digging, building, and taking on bosses together. The catch with hosting from inside the game is that the world is only up while the host is playing. A dedicated Terraria server fixes that, so anyone in your group can hop in and keep progressing.

HostMode turns your own PC or home server into a Terraria host and gives you a web dashboard to run it. Create the server in a few clicks, set the world size and difficulty, add a password, and start it from your browser or phone. Terraria is light on resources compared with many survival games, which makes it a good fit for a spare machine.

Your first server is free on the Solo plan, with every feature included.

World settings without editing config files

Set the world difficulty and the size of a new world from form fields in the dashboard, along with the server name, MOTD, player limit and password.

Save World on demand

Use the Save World action before you stop the server, try something risky, or take a backup, so nothing from the last session gets lost.

Backups for every boss attempt

Take a one-click backup before a hardmode push, or schedule automatic backups. Download or restore them from the dashboard whenever you need to.

Light enough for a spare PC

HostMode gives a new Terraria server 2 GB of RAM by default, so an older machine or a home server can often run it alongside other things.

hardware

What your Terraria server needs

The Terraria server runs on the machine where you install the HostMode agent: Linux, or Windows with Docker Desktop and WSL2.

Default RAM in HostMode
2 GB
Operating system
Linux, or Windows with Docker Desktop and WSL2
Ports reserved per server
Block of 2

2 GB is the HostMode default for Terraria. Larger worlds, more players and mods need more RAM and a faster CPU. The requirements guide at hostmode.net/docs/getting-started/requirements has more on sizing.

networking

Ports for Terraria

Terraria uses TCP. HostMode reserves a block of 2 ports for each Terraria server from a free range, so several servers on one machine never collide, and the dashboard shows the exact port to forward. Players connect straight to your machine, so the TCP game port must be forwarded on your router, or the machine needs a public IP. The dashboard itself connects outward and needs no open port.

Used forProtocol
Terraria game trafficTCP

Unlike many games, Terraria needs TCP rather than UDP. The port forwarding guide at hostmode.net/docs/configuration/network explains how to set the rule and test it.

mods

Worlds, mods and server files

HostMode does not have a one-click mod browser for Terraria. Mods and world files are managed with the browser file manager, where you can upload, edit, download, zip and unzip, or over SFTP if you prefer a desktop client.

Want to keep playing a world you already have? Upload the world file through the file manager or SFTP and the server can pick it up. It also works in reverse: download your world any time to keep a copy or play it locally.

settings

Change Terraria settings without editing files

Terraria's common settings are form fields on the dashboard's game settings page, with a config editor for everything else.

  • Server Name
  • MOTD (message of the day)
  • Max Players
  • Server Password
  • World Difficulty
  • New World Size
  • Save World and Force Update actions

setup

How to set up a Terraria server

  1. 1

    Sign up for free

    Create a HostMode account. The Solo plan is free for one machine and one server.

  2. 2

    Install the HostMode agent

    Install the agent on the PC that will host your world. It runs as a Docker container on Linux, or on Windows through Docker Desktop and WSL2.

  3. 3

    Create a Terraria server

    Pick Terraria in the dashboard, name your server, and set the world size, difficulty, player limit and password.

  4. 4

    Forward the TCP port

    Forward the TCP port the dashboard shows for this server on your router.

  5. 5

    Start it and join

    Start the server, then have your friends choose Join via IP in Terraria's multiplayer menu and enter your public IP address and port.

Keeping the server running smoothly

The live console streams the server's output to your browser so you can watch players connect and see any errors (it is read-only for Terraria). If the server crashes, HostMode explains the crash in plain English and sends you an email. You also get an email if the whole machine goes offline.

When a new Terraria server build is available, the Force Update action pulls the latest version. Save the world and take a backup first, then update.

Sharing the work with friends

Invite friends to your HostMode team with their own roles and permissions, so they can start the server when you are not around. The activity log shows who did what. Add the Discord bot to get a live status board and start, stop and restart buttons right in your Discord, plus notifications when the server starts, stops or crashes.

on every plan

Everything else, built in.

Every plan, free included, gets every feature. Plans differ only in machines, servers and teammates.

  • Start, stop and restart from any browser or your phone
  • Live console output in the browser
  • File manager and SFTP access
  • One-click and scheduled backups, with restore
  • Crash explanations and email alerts
  • Discord bot with a live status board and buttons
  • Invite friends with roles and permissions
  • Run several servers on one machine

questions

Terraria server FAQ

How do I make a Terraria server for my friends?

+

With HostMode, install the agent on your PC, create a Terraria server in the dashboard, forward the TCP port it shows, and start the server. Friends then join via IP using your public IP address and that port.

Do I need to port forward to host a Terraria server?

+

Yes. Friends outside your home connect directly to your machine, so the TCP game port must be forwarded on your router, or your machine needs a public IP. See hostmode.net/docs/configuration/network.

Does Terraria use TCP or UDP?

+

Terraria servers use TCP. In HostMode, the dashboard shows the exact TCP port for each Terraria server.

How much RAM does a Terraria server need?

+

HostMode assigns 2 GB by default. Bigger worlds, more players and mods need more RAM and a faster CPU.

Can I use my existing Terraria world on a server?

+

Yes. Upload the world file with the dashboard's file manager or over SFTP. You can also download the server's world at any time.

Can I run a modded Terraria server?

+

HostMode does not include a one-click mod browser for Terraria. Mod and world files can be uploaded and edited with the file manager or SFTP.

Is it free to host a Terraria server?

+

HostMode's Solo plan is free for one machine and one server, and the server runs on your own hardware. Paid plans for more servers are monthly or yearly.

Looking for a Terraria server to join?

Browse Terraria servers HostMode players have listed on Discover.

Browse servers

Your Terraria server, your hardware.

Install the agent, pick Terraria, and manage it from anywhere. Your first server is free.