If you play Terraria and would like to run a dedicated server 24/7, just go to www.tdsm.org and follow the instructions there, or use this quick guide that I wrote.
Go to TDSM.org to download the latest Terraria Dedicated Server Client (Terraria_Server.exe). Ignore any possible anti-virus warnings, it is NOT a virus.
Save it in a separate folder, for instance “C:\Games\TDSM”, then double-click to run it.
If Windows firewall asks you, choose to allow access for all networks.