Gaming4Free — Free Game Server Hosting G4F.GG v1.0 // FREE FOREVER
BACK TO BLOG
HOME / BLOG / Server Guides
Server Guides

Terraria Server Setup (Free): Play With Friends Tonight

Someone can’t join. The host lags. Ports. Firewalls. Somebody’s on mobile, somebody’s on Steam, somebody’s on console (that one is a different story). And then you end up doing the thing where you go, “Okay, I’ll just host it from my PC” and your computer turns into a space heater for six hours.

So this guide is for the normal, sane way to do it. Free. Reliable. And you can actually go to sleep without kicking everyone out of the world.

I’ll show you three ways:

  1. The quick in game “Host & Play” method (good for casual sessions).
  2. A dedicated server on your own computer (free, but you deal with ports).
  3. A free hosted server using Gaming4Free (still free, no credit card, usually the least painful).

Also, small note: this is for Terraria (PC). Console and mobile multiplayer have different rules, and crossplay is still… not really a thing in the way people want it to be.

What you need before you start (so you don’t get stuck later)

Just make sure you’ve got these basics:

  • Terraria installed (Steam or GOG, either works)
  • Your friends on the same platform (PC with PC)
  • Everyone on the same Terraria version
  • Your world file ready, or you’ll generate a new one

If you’re using mods (tModLoader), skip to the mod section later because that changes the setup slightly.

Option 1: Use “Host & Play” (the simplest way, no dedicated server)

If you just want to play tonight, and you don’t care about the server being online 24/7, this is the easiest.

Step 1: Start hosting

In Terraria:

  • Multiplayer
  • Host & Play
  • Pick your character
  • Pick a world (or create one)
  • Set a password if you want (recommended, honestly)

Terraria will load the world and your friends can join.

Step 2: Friends join you

Your friends go to:

  • Multiplayer
  • Join via Steam (if you’re all on Steam and friends)
  • Or Join via IP (if you’re on the same network or you’ve set up port forwarding)

If you’re all on Steam, “Join via Steam” is usually painless.

The catch with Host & Play

  • If you close Terraria, everyone gets kicked.
  • If your PC struggles, the world can lag for everyone.
  • If someone is far away (different region), your upload speed matters a lot.

So yeah, great for casual sessions. Not so great for “this is our world now” type of multiplayer.

Option 2: Set up a dedicated Terraria server on your PC (free, more control, but ports are the boss fight)

Running a dedicated server means the world stays stable, and you can usually run it without actively playing on the host machine. But you’ll probably have to deal with port forwarding, and that’s where most people get annoyed.

Step 1: Get the dedicated server files

Terraria includes server files.

On Steam, usually here:

  • Steam\steamapps\common\Terraria\

Look for:

  • TerrariaServer.exe (Windows)
  • Or the TerrariaServer binary on Linux/macOS

If you don’t see it, you can also download the official server package from Terraria’s website, but Steam installs usually include it.

Step 2: Run the server

Double click TerrariaServer.exe.

You’ll get a console window asking you to select a world.

You can either:

  • Choose an existing world number
  • Or create a new one through the prompts

Then it will ask:

  • Max players
  • Port (default is 7777)
  • Password (optional but yes, use one)

Once it says something like “Server started” and shows a listening port, you’re basically running.

Step 3: Allow TerrariaServer through your firewall

On Windows, you’ll probably get a firewall prompt.

Allow it for:

  • Private networks (at least)
  • Public networks (only if you understand what that means for your setup)

If you missed the prompt, go to:

  • Windows Security
  • Firewall & network protection
  • Allow an app through firewall
  • Add TerrariaServer.exe

Step 4: Port forward (the annoying part)

If your friends are not on your local network, they’ll need to connect over the internet, which usually means forwarding port 7777 on your router to the computer running the server.

General idea:

  • Log into router admin panel
  • Find Port Forwarding / NAT
  • Forward TCP/UDP 7777 to your PC’s local IP (like 192.168.1.50)
  • Save and reboot router if needed

Then your friends connect using your public IP (you can find it by searching “what is my IP” in Google).

In Terraria:

  • Multiplayer
  • Join via IP
  • Enter your public IP
  • Port 7777

Common issues with self hosting

  • Your ISP might block inbound ports.
  • You might be behind CGNAT (common on some fiber/mobile ISPs).
  • Your public IP might change.
  • Your upload speed might be rough.

If you read all of that and already feel tired, yeah. That’s why hosted options exist.

Option 3 (recommended for most people): Use a free hosted Terraria server (no port forwarding)

If the goal is “our world is always online, anyone can join, and I don’t want to touch router settings,” hosted servers are the sweet spot.

And since this article is about doing it for free, here’s the move that makes sense:

Use Gaming4Free (https://gaming4free.net).

It’s a free game server hosting platform where you can spin up a Terraria server fast, manage it from a web panel, and you don’t need a credit card. The free tier works on a 24 hour renewable lease model. So you renew it daily, keep the server running, and you’re good. Paid plans just remove the renewal prompts and add priority stuff.

Step 1: Create your free Gaming4Free account

Go to:

Sign up, then head into the control panel.

Step 2: Deploy a Terraria server

Inside the panel you’ll typically do something like:

  • Create server
  • Choose Terraria
  • Choose a region (pick the one closest to most players: EU/US/Asia)
  • Click deploy / install

A nice detail here: picking the right region matters more than people think. If half the group is EU and you choose US, you’ll feel it. Boss fights get… weird.

Step 3: Configure your server settings

Once it’s installed, open the server settings.

Things you should set right away:

  • Server name (so you can find it in your own list)
  • Max players
  • Password (if you’re not using a whitelist)
  • Difficulty (Classic / Expert / Master)
  • World size (Small/Medium/Large)
  • World name

You can either generate a new world or upload one (more on that next).

Step 4: Start the server and grab the IP:Port

Hit Start, then look for:

  • Server IP
  • Server Port (often still 7777, but hosted providers sometimes assign a different one)

You’ll connect using:

  • IP address
  • Port number

Example format:

  • 123.45.67.89:7777

Step 5: Friends join the server

In Terraria (on each friend’s PC):

  • Multiplayer
  • Join via IP
  • Enter the server IP
  • Enter the port
  • Enter password (if set)

That’s it. No port forwarding. No firewall stuff. No “wait, what’s my public IP.”

Subtle but important stuff hosted servers handle for you

This is the part people forget until something breaks:

  • DDoS protection (usually included)
  • Better uptime than a random home PC
  • Central file management
  • Console access for troubleshooting
  • Backups (Gaming4Free includes automatic backups, which is honestly huge)

If you’ve ever lost a world file, you know why backups are not “nice to have.” They’re essential.

How to upload your existing Terraria world (so you don’t start over)

Maybe you already have a world you’ve been playing solo, and now you want to move it to the server.

Step 1: Find your world files on your PC

On Windows, Terraria worlds are usually here:

  • C:\Users\<YourName>\Documents\My Games\Terraria\Worlds

You’re looking for:

  • .wld file (the world)
  • .wld.bak (backup, optional but keep it)

Step 2: Upload to your server (Gaming4Free method)

On Gaming4Free, use the file manager or SFTP access from the panel.

  • Open File Manager (or connect via SFTP)
  • Find the Terraria worlds directory on the server (often something like a Worlds folder)
  • Upload your .wld file

Then in the server configuration:

  • Set the server to load that world file (select it by name)

Restart the server.

Step 3: Test it yourself first

Before you invite everyone, join alone and confirm:

  • Spawn works
  • Chests and builds exist
  • Progress is intact

If something looks wrong, don’t panic. Check you uploaded the correct world and not an older backup.

Setting up a whitelist or basic security (because random people do scan servers)

If you’re hosting with an IP and port, it can be found. Not instantly, but it happens.

At minimum:

  • Set a password
  • Do not share the IP publicly

If you want more control, some server setups let you manage bans/whitelists through config files or console commands. Terraria dedicated server supports commands like kicking and banning from the server console.

Hosted panels usually give you live console access, which is way easier than doing it locally.

How to set up a Terraria server with mods (tModLoader)

Mods are where people get tripped up, because you can’t just run a vanilla Terraria server and expect modded clients to join.

Everyone needs:

  • The same mod loader (tModLoader)
  • The same mods
  • The same mod versions
  • The same config (ideally)

The simple approach

If your server host supports tModLoader installs directly, use that option. Check the available versions.

On a platform like Gaming4Free, you’d typically:

  • Choose tModLoader as the server type (if offered)
  • Upload mods into the right folder
  • Restart server

If you’re self hosting:

  • Install tModLoader via Steam
  • Use the tModLoader server binary
  • Copy the mods into the server mods folder

Keep it consistent

If one person updates a mod and the server doesn’t, you’ll get version mismatch errors and nobody will know what changed. So pick a “modpack,” then freeze it unless everyone agrees to update.

Troubleshooting: the stuff that usually goes wrong

“Connection timed out”

Most common causes:

  • Wrong IP or port
  • Server is offline
  • Port blocked (self hosted)
  • Firewall blocking (self hosted)

Hosted server solution:

  • Confirm the server status is Running in the panel
  • Confirm you’re using the assigned port
  • Restart the server once and try again

“Lost connection” randomly

Could be:

  • Server CPU/RAM capped
  • Too many entities (late game farms, tons of items)
  • Someone’s internet dropping

If it’s self hosted, check your upload speed and PC load. If it’s hosted, consider switching region closer to players, or reducing heavy farms and item spam.

“Server not responding” after changing settings

Usually means:

  • World file path wrong
  • Config typo
  • Wrong world name

Fix by:

  • Reverting the last change
  • Restarting server
  • Checking console logs (Gaming4Free includes live console access, which is exactly what you want here)

What’s the best free way overall?

If you’re playing once in a while and you’re all on Steam, use Host & Play and call it a day.

If you want a world that’s online whenever, and you don’t want to mess with router settings, a free hosted server is the cleanest option. That’s why people use platforms like Gaming4Free. You get the control panel, the server runs in a real datacenter, and you can manage files and backups without turning your PC into the server room.

If you want to try it, you can start here: https://gaming4free.net

No credit card, and you can have a Terraria server up pretty fast.

Quick setup checklist (copy this if you want)

Host & Play

  • Multiplayer → Host & Play
  • Friends join via Steam
  • Works best for short sessions

Dedicated server on your PC

  • Run TerrariaServer.exe
  • Allow through firewall
  • Port forward 7777
  • Share public IP and port

Free hosted server (Gaming4Free)

  • Create account on gaming4free.net
  • Deploy Terraria server in your region
  • Set world, password, slots
  • Start server
  • Friends join via IP:Port

That’s it. If you tell me what platform you’re on (Steam or not), and whether you want mods, I can point you to the cleanest exact setup for your situation.

FAQs (Frequently Asked Questions)

What are the basic requirements before starting multiplayer in Terraria on PC?

Before starting multiplayer in Terraria on PC, ensure that everyone has Terraria installed (via Steam or GOG), all players are on the same platform (PC with PC), everyone is using the same Terraria version, and you have your world file ready or plan to create a new one. If you're using mods like tModLoader, setup steps differ.

How do I quickly host a casual Terraria multiplayer session without setting up a dedicated server?

For quick and casual sessions, use Terraria's built-in “Host & Play” feature: In Terraria, go to Multiplayer > Host & Play, select your character and world, optionally set a password, and start hosting. Friends can join via Steam friends list or by IP if on the same network or after port forwarding.

What are the limitations of using the 'Host & Play' method for Terraria multiplayer?

The 'Host & Play' method requires the host's PC to be running Terraria; if the host closes the game, all players get kicked. It may cause lag if the host's computer struggles or if players connect from distant regions with slow upload speeds. It's best suited for casual sessions rather than persistent worlds.

How can I set up a dedicated Terraria server on my PC for more stable multiplayer?

To set up a dedicated server on your PC: Locate and run 'TerrariaServer.exe' in your Terraria installation folder (Steam\steamapps\common\Terraria). Choose or create a world, set max players, port (default 7777), and password. Allow it through your firewall and configure port forwarding on your router to forward TCP/UDP port 7777 to your PC's local IP so friends can connect via your public IP.

What common issues might I face when self-hosting a Terraria dedicated server?

Common issues include ISPs blocking inbound ports, being behind CGNAT which prevents port forwarding, changing public IP addresses affecting connectivity, and limited upload speeds causing lag. These factors can make self-hosting challenging without technical knowledge.

Is there an easy free option to host a persistent Terraria server without dealing with ports?

Yes! Using a free hosted server service like Gaming4Free (https://gaming4free.net) allows you to spin up a reliable Terraria server without port forwarding or credit cards. It offers a web panel for management and runs on a 24-hour renewable lease model suitable for keeping your world online and accessible for friends anytime.

Frequently Asked Questions

What are the basic requirements before starting multiplayer in Terraria on PC?

Before starting multiplayer in Terraria on PC, ensure that everyone has Terraria installed (via Steam or GOG), all players are on the same platform (PC with PC), everyone is using the same Terraria version, and you have your world file ready or plan to create a new one. If you're using mods like tModLoader, setup steps differ.

How do I quickly host a casual Terraria multiplayer session without setting up a dedicated server?

For quick and casual sessions, use Terraria's built-in “Host & Play” feature: In Terraria, go to Multiplayer > Host & Play, select your character and world, optionally set a password, and start hosting. Friends can join via Steam friends list or by IP if on the same network or after port forwarding.

What are the limitations of using the 'Host & Play' method for Terraria multiplayer?

The 'Host & Play' method requires the host's PC to be running Terraria; if the host closes the game, all players get kicked. It may cause lag if the host's computer struggles or if players connect from distant regions with slow upload speeds. It's best suited for casual sessions rather than persistent worlds.

How can I set up a dedicated Terraria server on my PC for more stable multiplayer?

To set up a dedicated server on your PC: Locate and run 'TerrariaServer.exe' in your Terraria installation folder (Steam\steamapps\common\Terraria\). Choose or create a world, set max players, port (default 7777), and password. Allow it through your firewall and configure port forwarding on your router to forward TCP/UDP port 7777 to your PC's local IP so friends can connect via your public IP.

What common issues might I face when self-hosting a Terraria dedicated server?

Common issues include ISPs blocking inbound ports, being behind CGNAT which prevents port forwarding, changing public IP addresses affecting connectivity, and limited upload speeds causing lag. These factors can make self-hosting challenging without technical knowledge.

Is there an easy free option to host a persistent Terraria server without dealing with ports?

Yes! Using a free hosted server service like Gaming4Free (https://gaming4free.net) allows you to spin up a reliable Terraria server without port forwarding or credit cards. It offers a web panel for management and runs on a 24-hour renewable lease model suitable for keeping your world online and accessible for friends anytime.

READY TO START HOSTING?

Deploy your free game server in under 60 seconds. No credit card, no trial — free forever.

DEPLOY FREE SERVER →