To download and set up a Terraria dedicated server on your PC, you can either use the official files provided by Re-Logic or install it directly through Steam's built-in tools. Setting up a dedicated server allows you to keep a world running even when you aren't playing, so friends can join at any time. 1. Download Server Files
: Follow the prompts to set the maximum players (default is 16), port (default is 7777), and an optional server password .
: Go to Terraria.org and scroll to the very bottom to find the "PC Dedicated Server" download link.