cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_perform() return error code 6 (CURLE_COULDNT_RESOLVE_HOST)

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 31 Dec 2008 10:00:49 -0800

On Wed, Dec 31, 2008 at 03:10:44PM +0100, palkeo wrote:
> I have made a C++ program on my PC, and it use cURL.
> On my PC, it works very well, but i want to use it on my server.
> I have put the binary on my server, but the call to curl_easy_perform() always
> return error code 6, i don't know why.
> But i can resolve DNS. If i use the "curl" command to get an url, it works !
>
> Can someone please tell me how to solve this problem ?
> Thanks in advance,

We need more information to try to help. Starting with the operating system
you're using. Are you resolving IPv4 or IPv6 addresses? Are you using C-Ares?
Does your program work when using numeric IP addresses?

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-12-31