Forbidden by access permissions

Jun 24, 2011 at 1:03 PM

I'm not able to get the socket server up and running on my server. The err.log outputs the following:


2011-06-24 13:59:56,198 [11] ERROR SuperSocket - Failed to start SecureSuperWebSocket server!
2011-06-24 14:00:05,994 [24] ERROR SuperWebSocket - System.Net.Sockets.SocketException (0x80004005): An attempt was made to access a socket in a way forbidden by its access permissions
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at SuperSocket.SocketEngine.AsyncSocketServer`2.StartListen() in e:\Build\SuperSocket\mainline\SocketEngine\AsyncSocketServer.cs:line 109

I've tried setting trust mode to "Full". When I set ASP.NET Impersonation to "Enabled", I just get a 500 error...

Any ideas?

Jun 24, 2011 at 2:04 PM

Which OS are you using?

The exception is only threw when you set ASP.NET Impersonation?

Jun 24, 2011 at 2:22 PM

The Error is thrown every time, but if I turn off Impersonation, I can access the LiveChat example page, but it won't hook up. It just gives me an error "Unexpected response code: 404", which I guess is because it isn't able to set up the WebSocket server?

The server is running Windows Server 2008.