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

后端 未结 28 2191
北荒
北荒 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 02:02

    I had the same problem. The problem is that I didn't start the selenium server. I have downloaded the selenium server and i started it. After starting the selenium server, issue gone and all worked fine.

    Refer this : http://coding-issues.blogspot.in/2012/11/no-connection-could-be-made-because.html

提交回复
热议问题