5
Answers

C# Windows Service Net.tcp connect

David Smith

David Smith

13y
5.7k
1

I am getting a error trying to connect to the Windows Service .

The error I recieved is below:


System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions.


{System.ServiceModel.CommunicationException: Could not connect to net.tcp://localhost:9356/. The connection attempt lasted for a time span of 00:00:00.0937518. TCP error code 10013:

Can someone assist me?
Answers (5)