471,337 Members | 1,438 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

WebResponse

hi guys.

How are you.

I create a HttpWebRequest by using WebRequest.Create(new
URI("http://localhost:8080/test"));
and use HttpWebResponse responseHttp =
(HttpWebResponse)currentRequest.GetResponse(); to get response.

But I got a exception says:Unable to connect remote server.

If I chang my URL http://www.microsoft.com
it works pretty good.

If I use IE to browse my http://localhost:8080/test, it works

why?

Please help me thanks
Jul 21 '05 #1
0 934

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Jonathan | last post: by
2 posts views Thread by trialproduct2004 | last post: by
3 posts views Thread by trialproduct2004 | last post: by
2 posts views Thread by Jeff G. | last post: by
reply views Thread by archana | last post: by
4 posts views Thread by CindyH | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.