开发者

testing xml site?

I am trying to send and receive XML from a website using ASP.NET C# application.

I tried both httpwebrequest and webclient, and both of them throw exception:

"Unable to connect to the remote server. No connection could be made because the target machine actively refused it" followed by the IP Address I think.

Now, is there a site out there that I can use for testing purposes so that I know whether the problem is on my end or t开发者_JS百科he site's?

P.S. If I visit the URL using my browser, then it is fine.


An active connection refusal could mean either you're using the wrong port, or you don't have a route to the target IP (or the target is not up and running in the first place.)

Is your browser running on the same machine as IIS? If not, can you try the connection from the same machine? You should first eliminate the possibility of a routing problem.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜