cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Connect failed (7 )error

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 28 Oct 2003 08:44:27 +0100 (CET)

On Tue, 28 Oct 2003, Pravin Jade wrote:

> I am working with Windows OS and IE 5.1 browser with a proxy server.
> I am giving actual command line output as follows :-
>
> D:\curl>curl http://www.netscape.com
> curl: (7) Connect failed
>
> That means I am unable to connect to site ? I can view site using browser.
> Please help me to solve this error (7) Connect failed.

This means you need to provide the proxy option to curl, it doesn't know what
proxy to use otherwise. See -x in the docs.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
Received on 2003-10-28