Can you dig it? Here’s how to set up a dedicated Terraria server

how to set up dedicated terraria server mp
Terraria is a game best experienced with a group of your friends. While the game provides an easy option for setting up a quick multiplayer session via the “Host & Play” mode, this doesn’t allow for a persistent online world as the game session is closed when the host player leaves the game. Luckily, setting up a dedicated server for you and your friends to explore, craft, and collect in Terraria is easy to learn, so long as you have the opportunity to get some hands-on time with the game’s server tools. That said, follow the handy guide below and you’ll be crafting with your friends in a dedicated Terraria server in no time.

Setting up the Server

First, you’ll want to navigate to your Terraria install folder. If you’re running the game through Steam, the default installation location should be C:\Program Files (x86)\Steam\steamapps\common\Terraria. Once there, open TerrariaServer.exe to launch the server config window and bring up a list of all available worlds.

Tip: Create a shortcut to TerrariaServer.exe on your desktop for easy access.

Each world is stored locally on your computer’s hard drive. If you have not created a world yet, or wish to start a new one, type “n” into the command line and hit Enter key to create it. You will then get a prompt to set the world size — 1=small, 2=medium, and 3=large — and name it. The world will generate after completing the aforementioned steps, and once done, you will be able to select it as the server’s dedicated world.

To select a world for the server, type in the corresponding number in the “choose world” field. Afterward, you can make the following configurations:

  • Set maximum number of players. The default is eight, but you may specify a number other than that as the server cap.
  • Set port. Unless you’re running multiple servers and need to set a different port, you can just hit enter to use the default (aka 7777).
  • Port forwarding (see below). Type “y” to enable port forwarding, or “n” if you do not wish to use it.
  • Set password. If you want to set a password for your server, type it in the field directly right of password and hit Enter. Doing so without typing anything will mean there is no password for the server.

After this, the world will be set and playable for all those who connect to the server. If you wish to change the settings for the world, you can do so from within the server console window. Changes can be made on the fly, too, even while you’re playing. This allows you to implement changes in your Terraria world in real-time. You can make the following configurations to your server:

TerrServConfigOptions

If you’re planning on playing with others who are not connected to the same LAN/router as the host computer, you will need to know your router’s global IP address — which you can find here — and need to set up “Port Forwarding” for your Terraria server so others can access it. Port Forward also offers detailed instructions for specific routers, broken down by make and model.

Connecting to the server

Once you’ve got a server up and running, the next obvious step is to connect to it.

In order to connect to the server from the same computer on which it’s hosted:

Step 1: Launch Terraria as you would normally.

Step 2: Select Multiplayerthen Join via IP.

Step 3: Select the character you wish to use.

Step 4: When asked for the IP address, type in either “localhost” or “127.0.0.1”

In order to connect to the server from a different computer than the one on which it’s hosted:

Step 1: Launch Terraria as you would normally.

Step 2: Select Multiplayerthen Join via IP.

Step 3: Select the character you wish to use.

Step 4: When asked for the IP address, type in the global IP address for the router the server PC is connected to.

In order to connect to the server if players will be playing on the same local connection:

Step 1: Find your computer’s IPv4 address. To do so, type “cmd” into the search bar of your Windows Start Menu and run the Command Prompt. Once open, type “ipconfig” in the window and press Enter. Your IPv4 address will be displayed beneath “Ethernet Adapter Local Area Connection” or “Wireless LAN adapter Wireless Network Connection 2.”

Step 2: Launch Terraria as you would normally once you have the IPv4 address.

Step 3: Select Multiplayerthen Join via IP.

Step 4: Select the character you wish to use.

Step 5: When asked for the IP address, use the IPv4 address for the PC the server is hosted on.

Both Internet and LAN players can connect to the server simultaneously, as long as the server and network have been properly configured.

All that’s left to do is enjoy your new dedicated server. Happy digging!

Gaming

Next Apex Legends patch will fix Gibraltar’s sticky shield and hit registration

Respawn is set to roll out a new patch for Apex Legends early this week. The update will look to fix several issues in the game, including Gibraltar's sticky shield, the Fortified passive ability, and incorrect hit registration.
Home Theater

Plex is free and easy, and you'll wonder how you survived without it

If you want a Netflix-like experience for the media you already own, you need Plex. It's the free media center software that automatically catalogs and plays your movies, music, photos, and more, on your TV. Here's how to use it.
Gaming

Your PlayStation 4 game library isn't complete without these games

Looking for the best PS4 games out there? Out of the massive crop of titles available, we selected the best you should buy. No matter what your genre of choice may be, there's something here for you.
Social Media

6 easy ways to archive all of your favorite Instagram videos

Saving Instagram videos should be just as easy as taking a screenshot. So, we've put together a list of the best apps and tools that save your favorite Instagram videos onto your phone or computer.
Computing

The top Wi-Fi extenders for improving your wireless signal at home or work

Your network is only as good as your Wi-Fi signal. In this guide we'll recommend to you five of the best Wi-Fi extenders to help boost your network, to make sure you have wireless signal everywhere in your home.
Gaming

Need a new Switch game? These will scratch the itch without emptying your wallet

Besides its great AAA games, the Nintendo Switch also has plenty of cheaper options. Here are some great Nintendo Switch games under $20, including some new versions of old classics.
Emerging Tech

How Super Mario, Magic: The Gathering, and PowerPoint are low-key supercomputers

What if the creators of Super Mario World, PowerPoint, and even Magic: The Gathering had accidentally created tools hiding a general-purpose computer in plain sight? Turns out they have.
Gaming

Red Dead Online poker missing in some parts of the world due to gambling laws

The massive update for Red Dead Online as it left beta added poker, among many other things, to the online component of Red Dead Redemption 2. Some players can't access the card game though, due to the gambling laws of their country.
Gaming

Minecraft may be best-selling video game in history with 176 million copies sold

Minecraft has sold more than 176 million copies since it was launched 10 years ago, across all platforms where it is available. The milestone may make it the best-selling video game in history.
Gaming

Vampire: The Masquerade – Bloodlines 2 publisher opts out of Epic Games store sale

Epic Games launched its first major sale and made the decision to cover the cost of discounts, but a couple of publishers opted out anyway. One withdrawal, involving Vampire: The Masquerade - Bloodlines 2, seems to be rooted in a…
Gaming

Ubisoft is making strides towards more accessible games

Ubisoft's accessibility project manager David Tisserand shared details on a new accessibility initiative during Global Accessibility Awareness Day. Here's what's to come in the future from the company.
Gaming

From platforms to games, here's how Google Stadia and Nvidia GeForce size up

Google Stadia will have some stiff competition in Microsoft's Project xCloud, but that isn't the only game streaming service. We compared Google Stadia vs. Nvidia GeForce Now to see the differences and features.
Gaming

Apex Legends patch waves goodbye to Gibraltoad, addresses hit-detection issues

It has been quiet for a while, but the Apex Legends developers are gearing up for a patch update in the coming weeks. A Respawn employee took to Reddit to share the planned changes for the next major patch.
Gaming

PlayStation Productions is taking inspiration from Disney’s Marvel films

Sony announced PlayStation Productions, a studio dedicated to bringing the gaming properties to film and television. The new studio is aiming to model things after Disney's Marvel Cinematic Universe.