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

后端 未结 11 2271
野性不改
野性不改 2020-12-15 19:04

I try to connect to a web service hosted on a different server using the WebRequest Class. The web service returns a string as a Response. While doing so I get an Error:

11条回答
  •  青春惊慌失措
    2020-12-15 19:49

    There is a firewall blocking the connection or the process that is hosting the service is not listening on that port. Or it is listening on a different port.

提交回复
热议问题