appServer.Setup(2012) failed when runas windows service

Apr 27, 2015 at 7:51 PM
Hi there,

I cannot start service as it failed at line: appServer.Setup(2012). If I change the code to windows console, it is no issue. I cannot find the log file too.

appServer = new WebSocketServer();
        Log("new WebSocketServer()");
        //Setup the appServer
        appServer.Setup(2012);
Thanks