How to turn off UPnP on a Terraria server
Set upnp=0 in serverconfig.txt, or start with -noupnp. SLASHPLAY already starts Terraria with -noupnp.
upnp
Forwards the server's port on your router automatically with UPnP. Default 1. The launch option -noupnp turns it off.
upnp=<0|1> Examples
upnp=0 In serverconfig.txt.
-noupnp As a launch option.
Arguments
0|1Required1turns it on,0turns it off.
What it does
Handy at home, but it doesn't work on every router. Turn it off on a hosted server.
Good to know
- SLASHPLAY starts Terraria with
-noupnp: it handles the ports itself. - A line in the server config file (serverconfig.txt), read when the server starts with
-config. SLASHPLAY starts Terraria without a config file, so the line has no effect there.
Run it on your server
On SLASHPLAY, Terraria's server can't take commands from the dashboard: the Console tab only shows what it prints. SLASHPLAY sets the world, the 8-player limit and the join password at each start, and the chat commands work for every player in game. New to this? Start a Terraria server first.
Your own
Terraria server.
From $0.03 an hour, only while it runs. New accounts get 6 free tokens.