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!

Computing

Great PC speakers don't need to break the bank. These are our favorites

Not sure which PC speakers work best with your computer? Here are the best computer speakers on the market, whether you're working with a tight budget or looking to rattle your workstation with top-of-the-line audio components.
Mobile

These voice-changing apps will have you punking friends and family like a pro

Have you ever wanted to call your friends as Darth Vader or Alvin from the Chipmunks? If you want to play a prank on your friends, we have the best voice-changer apps for iOS and Android, whether you want to record audio or make a call.
Gaming

Need to perform a factory reset on your Xbox One console? Here's how to do it

Whether you're upgrading to a One X and giving your old console to a friend, or troubleshooting a technical issue, sometimes your Xbox One needs a clean slate. Here's our quick guide on how to factory reset an Xbox One.
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.
Gaming

Find the buried treasure with our Fortnite weekly challenge guide

The Fortnite season 8, week 4 challenges are now out for all players around the world. The big one this week tasks players with searching for Fortnite buried treasure using the buried treasure map item. Here's where you can find treasure on…
Gaming

Here's our Champion's guide to picking the best character in Apex Legends

Apex Legends' use of heroes with different abilities helps separate it from other battle royale games. To help you choose your legend, we've put together a legend guide detailing their abilities, strengths, and weaknesses.
Gaming

Nintendo Labo: VR Kit has a ton of games you can play with starting April 12

Nintendo Labo: VR Kit has a plethora of games to play after you're done building the Toy-Cons. From an on-rails alien shooter to a deep sea photography adventure, here's what you can play with Labo: VR Kit. You can even make your own games.
Deals

The best Nintendo Switch deals and bundles for March 2019

Looking to score Nintendo's latest console? We've smoked out the best Nintendo Switch deals right here, including discounts on bundles that feature must-have games like Super Mario Odyssey, Super Smash Bros. Ultimate, and Zelda: Breath of…
Gaming

How to break Posture and deal a Shinobi Deathblow in Sekiro: Shadows Die Twice

Sekiro: Shadows Die Twice is an incredibly difficult game, and managing the Posture system is a key part of improving and tackling the latest From Software title's most challenging sections.
Gaming

Here's what we know about the Dark Souls developer's next game

Sekiro: Shadows Die Twice is the latest game from Dark Souls and Bloodborne developer From Software. Here is everything we know about the new game, including its setting and combat changes.
Gaming

Here's where Xur is and what he has for wares this week in Destiny 2: Forsaken

The weekly vendor in Destiny 2: Forsaken always brings Exotic weapons and armor, some of the toughest loot to find in the game. Here's everything you need to know to track down Xur: Where he is, when he shows up, and what he's stocking.
Gaming

Here's a look at how the Epic Games Store is sizing up to the competition

The Epic Games Store has picked up exclusives left and right since its launch last December. From AAA games like The Division 2 to wonderful indies like Hades, the Epic Games store has an impressive library of exclusives.
Gaming

Get Sekiro: Shadows Die Twice for free when buying an Xbox One

You can get Sekiro: Shadows Die Twice for free when buying an Xbox One from Newegg. Eight different bundles are available for this deal, so you can walk away with Sekiro and another game such as The Division 2 or Anthem.
Gaming

Master Shinobi combat with our Sekiro: Shadows Die Twice beginner's guide

Sekiro: Shadows Die Twice is one of the hardest games of the generation, and it can be overwhelming, even for those who have played From Software's other games. Here is what you need to know to get started.