cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re:Re: about CURLE_COULDNT_CONNECT

From: 兰天 <lantian0811_at_163.com>
Date: Thu, 2 Apr 2015 23:27:43 +0800 (CST)

I use curl_easy_setopt(CURLOPT_VERBOSE,1L);
and get some information ,for example:
getaddrinfo(3) failed for ------> I think this is error code 6

* About to connect() to xxxxx port 80 (#210) ------> I think this is error code 7
* couldn't connect to host
* Expire cleared
* Closing connection #210
* About to connect() to xxxxx port 80 (#205)
* couldn't connect to host
* Expire cleared
* Closing connection #205
* About to connect() to xxxxx port 80 (#205)
* couldn't connect to host
* Expire cleared
* Closing connection #205
* About to connect() to xxxxx port 80 (#149)
* couldn't connect to host
* Expire cleared
* Closing connection #149
* * About to connect() toxxxxx port 80

在 2015-04-02 17:39:52,"Jeff Pohlmeyer" <yetanothergeek_at_gmail.com> 写道:
>On Thu, Apr 2, 2015 at 4:27 AM, 兰天 <lantian0811_at_163.com> wrote:
>
>> I met an error indicate CURLE_COULDNT_CONNECT
>> I do not get any clue from this error code, is there any method to tell me
>> how to locate the error.
>
>Try setting curl_easy_setopt(CURLOPT_VERBOSE,1L);
>
> - Jeff
>
>-------------------------------------------------------------------
>List admin: http://cool.haxx.se/list/listinfo/curl-library
>Etiquette: http://curl.haxx.se/mail/etiquette.html

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-02