curl-library
Re: CURLE_COULDNT_CONNECT error
Date: Thu, 21 Jan 2010 18:36:07 +0530
Hi
we are getting Http respone code is 0(Zero) and CURLcode is
CURLE_COULDNT_CONNECT
for that request with our http client application.
can we do any configuration on network/firewall settings to execute our http
client application in proper way.
Target machine is Microsoft Windows Server 2003, Standard Edition
Thanks,
Satya.
On Thu, Jan 21, 2010 at 6:01 PM, Daniel Stenberg <daniel_at_haxx.se> wrote:
> On Thu, 21 Jan 2010, satya narayana wrote:
>
> But the issue we are getting in a few machines our httpclient program could
>> not works fine (for the same remote host http service). always it returns
>> "CURLE_COULDNT_CONNECT" Error, even that http service available
>>
>> we are able to telnet that same http service for that target machine,
>> However our httpclient program should also work.
>>
>
> That's very strange. CURLE_COULDNT_CONNECT means that the TCP connect
> fails, so if you can telnet to the same IP and port number something is
> truly wrong.
>
> Can you wireshark the connection and see what exactly happens over the
> network? Alternatively, use strace or similar to see what exact system calls
> libcurl uses that end up failing.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> 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 2010-01-21