No connection could be made because the target machine actively refused it?

后端 未结 28 2642
北荒
北荒 2020-11-22 01:27

Sometimes I get the following error while I was doing HttpWebRequest to a WebService. I copied my code below too.


System.Net.WebException: Unable to connect         


        
28条回答
  •  暖寄归人
    2020-11-22 01:55

    I had the same error with my WCF service using Net TCP binding, but resolved after starting the below services in my case.

    Net.Pipe.Listener.Adapter

    Net.TCP.Listener.Adapter

    Net.Tcp Port Sharing Service

提交回复
热议问题