curl-users
Re: Curl Error (7 )Connect failed
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 20 Oct 2003 08:58:20 +0200 (CEST)
Date: Mon, 20 Oct 2003 08:58:20 +0200 (CEST)
On Mon, 20 Oct 2003, Pravin Jade wrote:
> cURL 7.10.5 is installed on m/c.
What's m/c?
> Just issuing curl command , it works fine. But when I try to isue command
> curl http://localhost OR curl http://www.netscape.com , it gives Error ( 7 )
> Connect failed. I can connect to any website through browser from my m/c. So
> connection seems to be OK. What may be the reason for this? Please help me
> out in this regard.
localhost? Do you run a web server on port 80 on localhost?
Are you possibly using a proxy when you use your browser?
The error 7 means that the TCP connect fails to the given host/port.
-- Daniel Stenberg -- curl: been grokking URLs since 1998 ------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.comReceived on 2003-10-20