If you’ve ever been mid-Terraria playthrough with friends and gotten frustrated by random players joining your public lobby, or wanted to keep your world saved permanently even when the host logs off, you’ve probably wondered how to create a Terraria server of your own. Running your own server lets you set custom rules, limit access only to people you invite, and even load up your favorite mod packs without messing up other players’ save files. I’ve set up more than a dozen Terraria servers over the years for my friend group, and I’ve simplified the process down to steps even total tech newbies can follow without hitting common errors.
What You Need Before You Learn How to Create a Terraria Server
You don’t need a fancy high-end gaming PC to run a small Terraria server for 2-8 friends, but there are a few basic requirements you should check off first to avoid lag or crashes mid-play. I always recommend getting these sorted before you start downloading any files, so you don’t waste time troubleshooting later. The core items you’ll need are:
- A stable internet connection with at least 10Mbps upload speed for servers with 4+ players; you can check your upload speed for free online in 30 seconds
- At least 2GB of free RAM on the device you’re using to host the server, or 4GB if you plan to run modded Terraria packs like Calamity
- The latest version of Terraria installed on your device, or the matching modded version if you’re running a custom pack
- Admin access to your home router if you plan to let friends outside your local network join the server
For larger groups of 10+ players, you might want to use a third-party hosting service instead of hosting on your personal PC, but for most casual friend groups, a home server works perfectly fine. Just remember that if you host on your own computer, the server will go offline whenever you turn your PC off or lose internet connection. If you’re running a modded server, make sure every player joining has the exact same mod versions installed as the server, or they won’t be able to connect.
Step-by-Step Setup for Windows and Mac Devices
For Windows users, the process is pretty straightforward. First, open your Steam library, search for Terraria Dedicated Server in the store, and download it for free – you don’t need to buy a second copy of the game to run the server. Once it’s installed, navigate to the installation folder, run the TerrariaServer.exe file, and follow the on-screen prompts to set your world size, difficulty, and maximum player count. You’ll also get to set a server password here, which I always recommend doing to keep random players out.
Mac users have a slightly different process, since the official dedicated server tool is not natively supported on Mac. You can either use the terminal to run the server files directly, or use a free third-party tool like TShock to simplify the setup. Always download server files directly from official or trusted sources only, to avoid accidentally installing malware on your device. Once you run the server, you’ll see a local IP address pop up that players on your same wifi network can use to join immediately.
One common mistake I see new server owners make is skipping the world save step. Make sure you name your world and save it before you start letting players join, so all progress is stored safely even if the server crashes unexpectedly. If you want to use an existing single-player world on your server, you can just copy the world file from your Terraria saves folder into the server’s worlds folder, and it will pop up as an option when you launch the server next. Once you finish these steps, you’ll have successfully learned how to create a Terraria server that works for everyone in your friend group.
How to Let Friends Outside Your Home Network Join
Once your server is running locally, the next step is to make it accessible to friends who don’t live with you. The most common way to do this is via port forwarding, which lets traffic from outside your home network connect directly to the device running your Terraria server. The default port for Terraria servers is 7777, but you can change this in the server settings if you want to.
To set up port forwarding, you’ll need to log into your router’s admin panel, find the port forwarding section, and forward port 7777 to the local IP address of the device running your server. The exact steps for this vary a lot depending on your router brand, so you can search for your router model plus “port forwarding guide” to get specific instructions. Never share your public IP address publicly online, only send it to the friends you want to join your server, to avoid DDoS attacks or unwanted connections.
If port forwarding sounds too complicated, or your internet provider blocks port forwarding, you can use a free LAN tunneling tool instead. These tools create a secure link between your server and your friends’ devices without needing to change any router settings, though they can sometimes cause slightly higher ping than port forwarding. Most of these tools only take a few minutes to set up, and many have pre-made Terraria presets to make the process even easier.
Simple Customizations to Improve Your Server Experience
One of the best parts of running your own Terraria server is that you can tweak every part of the gameplay to fit your group’s preferences, no more arguing with random players about rule breaks. For example, you can turn off PvP if you just want to do a cooperative playthrough, or enable hardcore mode if your group wants a more challenging run. You can also set spawn protection to stop new players from accidentally breaking the base area when they first join. Once you know how to create a Terraria server, you can tweak it to fit any playstyle you can think of, from casual building runs to permadeath boss rush challenges.
If you want to add even more customization, you can use a server management tool like TShock, which lets you add admin commands, anti-griefing tools, and custom events. Anti-griefing tools are non-negotiable if you plan to let anyone you don’t know well join your server, as they let you roll back damaged builds and ban players who intentionally break things. You can also set up auto-save intervals so you never lose more than a few minutes of progress if the server crashes.
For modded servers, you can easily add new biomes, bosses, and items by installing mod packs directly to the server folder. Just remember to share the exact mod list with all your friends before they join, so they can install the same versions. I also recommend testing all mods on a private test server first before launching it for your group, to catch any compatibility issues that could cause crashes mid-play.
Running your own private Terraria server is way easier than most people think, and it makes playing with friends so much more fun than using public lobbies. You don’t need advanced tech skills to get it up and running, and even small customizations can make a huge difference in how much your group enjoys the playthrough. Whether you’re planning a casual vanilla playthrough or a full modded Calamity run, taking the time to learn how to create a Terraria server is totally worth the small amount of effort it takes. Just remember to test your settings before inviting friends, keep your server files updated, and don’t share your public IP with anyone you don’t trust.