I am trying to get Unity's Networking example project to run over our network, but I'm not getting a response of any kind (after hosting a server, no games appear on any connected machine). As it is the company network, the firewall controls are like a maximum security prison. I can get this sorted with the relevant tech staff, but I need to know what ports it is using and such.
How can I find out what ports need opening? Are they determined by Unity's architecture, or somewhere in the scripts?
I am using a Webplayer build of Unity's Networking Example.
asked Dec 24 '09 at 01:56 PM
A few ports you need to open:
From larus: UT Master Server info?
In fact, the IP-address of the masterserver has changed and is now: 18.104.22.168. The IP-address of the facilitator is the same (also 22.214.171.124). Of course, you could also use your own MasterServer, ConnectionTester and Facilitator and in that case define your own ports (and use your own IPs).
You can define the port your game server uses in CreateServer:
From perlohmann: Unity ports and custom server setup
In general, you'd always open UDP (but to be safe, you may consider also opening TCP if UDP only fails ;-) ).
answered Dec 24 '09 at 02:52 PM