A Terraria server is a program that makes available an open game world that others can join. To run a server, a user can run TerrariaServer.exe.
By default, the TerrariaServer.exe can be found in: (SteamAppsDirectory)\common\Terraria
A player then may join the server from game menu, choosing Multiplayer.
The server runs on port 7777 by default. The default number of max players is 8. You can set a password for your server if you only want to play with your friends too! This can be changed during server startup and in the server configuration file: serverconfig.txt.
- To host a server, you need to give others your external IP address for them to be able to join. If you don't know your external IP address, you can easily check it on WhatIsMyIP.com or Smart-IP.net.
- If your IP address starts with 192.168, that's your internal IP address, and it won't work for people outside of your house/work environment. When hosting a server, do not give other people your internal IP address as it won't work for them.
- The address 127.0.0.1 is known as localhost, a loopback reference to your computer. You cannot host a server at this address, other people will not be able to join it.
- Also note that, if your IP starts with 192.168, you are probably behind a router, and you will need to open/forward some ports (default: 7777) to make it work. This process is different for each brand of router. To learn how it works, you will need to do a Google search for the brand of your router and look for information about port forwarding. You can also look for your router on PortForward.com for detailed instructions.
If you see a sign you should read it. It could be telling you someone lives there, you get permission to go somewhere/someones house, and the rules of the server.
Server owners can post their servers for free on Terraria Server Finder
or via the Terraria Online Forums.
TShock may be useful when you are hosting a server, for anti-griefing purposes.