SmartFoxServer's socket policy server suddenly stopped working on my development machine. (It's running Windows 7, and I'm developing for Unity). The option is still turned on in the admin panel, and the file it's serving is still there, but the Unity player can't talk to port 843 anymore, so Unity fails to connect due to the lack of a policy server. (And I can verify that port 843 is not accessible when I try to connect to it with PuTTY.)
When I run sockpol.exe (the simple policy server that comes with Unity), everything works fine again.
I haven't made server-side changes since it stopped working. The only thing that raises red flags is that I just accepted a bunch of Windows 7 system updates. But I'm not sure how that would cause a problem.
(I made sure that TCP port 843 is open, along with 9933, in my Windows firewall, just in case. When that didn't help, I turned off the firewall completely; still no luck.)
Any ideas why it broke?
EDIT: telling Unity to prefetch the socket policy from port 9933 does work. But port 843 worked just yesterday... something changed.
Socket Policy Server Suddenly Broke
-
ericheimburg
- Posts: 26
- Joined: 18 Mar 2010, 07:25
-
ThomasLund
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
I can only guess - but on a Unix system when you start a server as a non-admin, then you cannot have it open ports on below 1024.
Maybe Windows 7 patch added that?!?! Are you running the service as admin?
/T
Maybe Windows 7 patch added that?!?! Are you running the service as admin?
/T
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund