[Mono-list] support for HttpWebResponse

Gonzalo Paniagua Javier gonzalo@ximian.com
24 Jul 2003 14:38:35 +0200


El mi? 23-07-2003 a las 18:47, Ishpal Singh escribió:
> Hi,
> 
> I am trying to access another url using the HttpRequest object and try
> to read from the stream.
> When running on windows and same machine, the  Following script executes
> fine. But when I try to access my machine from an external server, it
> hangs at 
> "HttpWebResponse httpRes = (HttpWebResponse)httpReq.GetResponse();"
> 
> And I get the following timout message:
> 
> Unhandled Exception: System.Net.WebException: The request timed out
> in <0x001b6> 00 System.Net.HttpWebRequest:EndGetResponse
> (System.IAsyncResult)
> in <0x00096> 00 System.Net.HttpWebRequest:GetResponse ()
> in <0x00242> 00 HttpRequest.Class1:Main (string[])

May be your machine has a firewall or something that prevents the
connection from being established :-?

-Gonzalo