The incoming ports that need to be forwarded for Terraria Server are:
Terraria Server - PC
- TCP: 7777
- UDP:
Forwarding Ports for Terraria Server

When you use Terraria Server you may need to forward ports in your router. By forwarding ports you allow connection requests coming from the internet to be directed to Terraria Server.
Routers do not generally allow incoming connection requests from the internet. A port forward can overcome this limitation.
Before Forwarding a Port
Before forwarding a port make sure that you know these things:
- Your router's IP address.
- Your computer's internal IP address.
- Each of the TCP and UDP ports that you need to forward.
Find the IP Address of Your Router
The easiest way to locate your router's IP address is to run our free Router Detector utility. It's a part of the Network Utilities suite of tools and it's completely free to use.
We have a guide you can follow Find Your Router IP Address if you don't want to run the software.
How To Forward Ports for Terraria Server
The easiest way to forward your ports is to use our Network Utilities software. Our Network Utilities software allows you to add port forwards and also remove them when you no longer need them to maximize your network security.
Another option is to go through the process of forwarding ports one step at a time. The step-by-step process for forwarding a port is:
- Start by logging in to your router.
- Locate the section in your router that deals with port forwarding.
- Type your computer's IP address into the correct box in your router.
- Put the TCP and UDP ports for Terraria Server in the corresponding boxes in your router.
Frequently you have to reboot your router for the changes to take effect.
You can choose your router from our list to see exactly how to forward ports for Terraria Server:
List of Routers - Customized for Terraria Server
Those are the steps to take in order to forward ports in your router for Terraria Server.