cURL / Mailing Lists / curl-library / Single Mail


Re: problem with sendrecv.c

From: Dan Fandrich <>
Date: Tue, 11 Nov 2008 22:07:41 -0800

On Wed, Nov 12, 2008 at 11:06:55AM +0530, haritha a wrote:
> In the same program, I've chaged the HTTP server to a local server URL...http:
> // this is not working i.e., failed
> to download the content with the CURLOPT_PROXY option set to
> If I remove that line CURLOPT_PROXY, it is downloading correctly...
> So, for private IP HTTP server, its working only if i remove CURLOPT_PROXY...
> for public IP HTTP server, its working only if i put CURLOPT_PROXY....
> Please suggest me a way so that it works both for local HTTP server and Public
> HTTP server as well....

This could be explained by a network that requires outside web access to go
through a proxy server, and a proxy server that only proxies for public web
servers. Sounds like a question to ask your local IT administrator.

>>> Dan

--              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-11-12