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!

Emerging Tech

Awesome Tech You Can’t Buy Yet: Booze-filled ski poles and crypto piggy banks

Check out our roundup of the best new crowdfunding projects and product announcements that hit the web this week. You may not be able to buy this stuff yet, but it sure is fun to gawk!
Computing

Lost your router? Here's how to find its IP address to help track it down

Changing the login information for your router isn't always easy, that's why so many have that little card on the back. But in order to use it, you need to know where to go. Here's how to find the IP address of your router.
Smart Home

Dog or cat shedding? These vacuums do a great job of sucking up pet hair

Got a pet hair problem? Fortunately, there's help for you and your furry friend. We tested out a bunch of vacuums that promise to remove pet hair. Here are a few of the best you can buy.
Computing

Heal your wrist aches and pains with one of these top ergonomic mice

If you have a growing ache in your wrist, it might be worth considering changing up your mouse for something ergonomic. But which is the best ergonomic mouse for you? One of these could be the ticket to the right purchase for you.
Photography

These are the best action cameras money can buy

Action cameras are great tools for capturing videos of your everyday activities, whether it's a birthday party or the steepest slope you've ever descended on your snowboard. These are the best money can buy.
Gaming

Kanye West wants to meet ‘Metal Gear Solid’ creator Hideo Kojima, for some reason

Rapper Kanye West wants to meet video game designer Hideo Kojima in New York. Nobody knows the reason behind the meeting, but fans are speculating that it may have something to do with Death Stranding for the PlayStation 4.
Gaming

‘Kingdom Hearts III’ out in the wild, director asks for support to stop spoilers

Kingdom Hearts III has been leaked, with several copies of the game out in the wild. The game's director, Tetsuya Nomura, responded to the situation, calling for help from gamers to stop spoilers from spreading online.
Gaming

Sharing your best gameplay moments is quick and easy on the Xbox One

The current generation of consoles make it easier than ever to share your gaming highlights with the world. Here's a quick guide on how you can record a gameplay video on Xbox One.
Gaming

The DualShock 4 is one of the best controllers ever, and you can use it with a PC

Sony's new DualShock 4 controller has become a fan favorite, and some people want to use it with a PC. Here's how to connect your DualShock 4 and start using it, either with an official adapter, or unofficial software.
Gaming

Project Stream testers get to keep a free copy of ‘Assassin’s Creed Odyssey’

Those who participated in Google's technical test of Project Stream won't be able to access the service to play Assassin's Creed Odyssey after January 15, but they'll get to keep the game on PC anyway.
Gaming

Newest ‘Destiny 2’ raid already completed by two-person team

The latest raid in Destiny 2: Forsaken is Scourge of the Past, and a two-person team has already managed to complete it. The task took 15 hours of trial-and-error effort before the duo managed to take down the final boss.
Gaming

The 25 best SNES games

The Super Nintendo Entertainment System might be the greatest game console ever made, but what are the best titles for the system? Here are our picks for the best SNES games, including A Link to the Past and Chrono Trigger.
Deals

Need a discounted Xbox bundle by Christmas? Walmart has you covered

Black Friday and Cyber Monday have both come and gone, but you can still save some cash on a new Xbox One bundle at Walmart. Both the Xbox One S and the Xbox One X are on sale now.
Gaming

The history of Battle Royale: From mod to worldwide phenomenon

Battle royale games like PlayerUnknown's Battlegrounds’ and Fortnite have become the biggest trend in video games. The genre is also pushing the envelope in streaming and eSports in a way that might hint at the future of the industry.