curl-users
Re: FW: Specifying a IP address to curl
From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 4 Mar 2005 13:53:06 +0100 (CET)
Date: Fri, 4 Mar 2005 13:53:06 +0100 (CET)
On Fri, 4 Mar 2005, Sagar Saibi wrote:
> I wanted to download using the specified IP address.
You can't just use a random IP address at your will. You do know that, right?
The IP address needs to be one that your host has/uses.
> The --interface option results into error. Here is the commandline and log
> * About to connect() to webproxy port 80
> * getaddrinfo(3) failed for 167.68.0.66:0
> * Couldn't bind to '167.68.0.66'
... which proves curl can't use that address as source IP.
And *please* bug your company to stop polluting the world with those huge
chunks of crap footer blurbs that serve no purpose and waste space.
-- Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se Dedicated custom curl help for hire: http://haxx.se/curl.htmlReceived on 2005-03-04