For example:
TNServer -name "My Server" -tcp 5127 -udp 5128 -udpLobby 5129
Local IPs: 0
UPnP discovery failed. TNet won't be able to open ports automatically.
Gateway: None found
Game server started on port 5127 using protocol version 10
ERROR: Unable to listen to UDP port 5128
Press 'q' followed by ENTER when you want to quit.
Vaughns-MacBook-Pro:~ voncarp$ sudo mono /Users/voncarp/Tnet/Assets/TNet/TNetServer/TNServer.exe
No arguments specified, assuming default values.
In the future you can specify your own ports like so:
-name "Your Server" <-- Name your server
-tcp [port] <-- TCP port for clients to connect to
-udp [port] <-- UDP port used for communication
-udpLobby [address] [port] <-- Start or connect to a UDP lobby
-tcpLobby [address] [port] <-- Start or connect to a TCP lobby
-ip [ip] <-- Choose a specific network interface
For example:
TNServer -name "My Server" -tcp 5127 -udp 5128 -udpLobby 5129
Local IPs: 0
UPnP discovery failed. TNet won't be able to open ports automatically.
Gateway: None found
Game server started on port 5127 using protocol version 10
ERROR: Unable to listen to UDP port 5128
Press 'q' followed by ENTER when you want to quit.