cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Proxy Port Bug

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Tue, 21 Nov 2006 00:44:46 -0600

On 11/20/06, Venal Technology <brian_at_venaltech.com> wrote:
> I'm using cURL version 7.15.3:
>
> rouier@a2s18 [~]# curl -v -x http://10.134.11.47:8888
> http://10.134.11.24/
> * About to connect() to proxy 10.134.11.47 port 8888
> * Trying 10.134.11.47... Connection timed out
> * couldn't connect to host
> * Closing connection #0
> curl: (7) couldn't connect to host
>
> rouier@a2s18 [~]# curl -v -x http://128.112.139.97:8888
> http://www.google.com
> * About to connect() to proxy 128.112.139.97 port 8888
> * Trying 128.112.139.97...
>
>
> rouier@a2s18 [~]# curl -v -x 194.170.187.5:80 http://www.google.com
> * About to connect() to proxy 194.170.187.5 port 80
> * Trying 194.170.187.5... connected
> * Connected to 194.170.187.5 (194.170.187.5) port 80
> > GET http://www.google.com HTTP/1.1
>
> rouier@a2s18 [~]# curl -v -x 165.230.49.114:8888 http://www.google.com
> * About to connect() to proxy 165.230.49.114 port 8888
> * Trying 165.230.49.114...
>
> I've tested this on my a2hosting and hostgator accounts.

Have you tried connecting through that proxy using a browser?? If a
browser can't do it either, it's probably not a curl problem...

Ralph Mitchell
Received on 2006-11-21