SuperWebSocket icon indicating copy to clipboard operation
SuperWebSocket copied to clipboard

Failed to register remoting access service! System.Runtime.Remoting.RemotingException: Failed to create an IPC Port: Access is denied.

Open softreigns opened this issue 8 years ago • 0 comments

Hi EveryOne, 

I am facing this issue. My use case is: 

I am running a Superwebsocket in a windows form application in windows server 2008 ( which is used by multiple user on share basis (remotely). So I intent to run this Window app for each user, hence superwebsocket (diff port). I am injecting the port number with bootstrap.initialize(EndpointDictionary);

But when I am running for second user I am getting this error: 

 DEBUG DefaultBootstrap - The server instance SecureSuperWebSocket has been initialized! 
 DEBUG DefaultBootstrap - The PerformanceMonitor has been initialized! 
 DEBUG DefaultBootstrap - The Bootstrap has been initialized! 
 ERROR DefaultBootstrap - Failed to register remoting access service! 
System.Runtime.Remoting.RemotingException: Failed to create an IPC Port: Access is denied. 

at System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.StartListening(Object data) 
at System.Runtime.Remoting.Channels.Ipc.IpcServerChannel.SetupChannel() 
at System.Runtime.Remoting.Channels.Ipc.IpcServerChannel..ctor(String name, String portName) 
at SuperSocket.SocketEngine.DefaultBootstrap.RegisterRemotingService() 
at SuperSocket.SocketEngine.DefaultBootstrap.Initialize(Func`2 serverConfigResolver, ILogFactory logFactory) 


Any ideas ?? 
thanks in advance.

softreigns avatar Dec 28 '17 07:12 softreigns