- Home /
Question by
Slences · Aug 03, 2015 at 05:32 PM ·
networkingport
UNet open to internet (port 7777 closed)
I have port forwarded 7777 on my router but it remains closed whenever I start a host in Unity 5. I'm pretty sure I forwarded correctly because when I opened port 8080 and ran my webserver on it, it worked fine.
Is UNet StartHost by default Lan only or what am I doing wrong here? I tried also puting off the firewalls both on the router and locally.
This is what I'm using right now:
NetworkManager.singleton.networkPort = 7777;
NetworkManager.singleton.StartHost();
Comment
It's not LAN only. You must have something blocking it somewhere.
Your answer