cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Proxy error: 504 Connect to curl.haxx.se:80 failed: Connection refused.

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 11 Feb 2012 22:55:41 +0100 (CET)

On Sat, 11 Feb 2012, Ciro Bigongiari wrote:

> If I try instead to open the same web page with firefox firefox
> http://curl.haxx.se the requested web page pops up without any problem.

Your curl command uses a proxy, does your firefox test do it as well? To me it
looks like you just have a proxy running on port 8118 that doesn't let you get
curl.haxx.se.

> == Info: About to connect() to proxy 127.0.0.1 port 8118 (#0)

There's the connect to the proxy.

> <= Recv header, 68 bytes (0x44)
> 0000: HTTP/1.1 504 Connect to curl.haxx.se:80 failed: Connection refus
> 0040: ed

... and there's the response from the proxy.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-11