cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem with sendrecv.c

From: Dan Fandrich <dan_at_coneharvesters.com>
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:
> //webapps.azingo.com(IP: 172.17.5.39:80).Now this is not working i.e., failed
> to download the content with the CURLOPT_PROXY option set to 172.17.1.16:80.
> 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

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-11-12