cURL / Mailing Lists / curl-library / Single Mail


Re: curl_easy_send() failure on some linux machines

From: Daniel Stenberg <>
Date: Wed, 28 Oct 2009 22:36:06 +0100 (CET)

On Thu, 29 Oct 2009, Yuichi Kuroda wrote:

Misleading subject. Your code snippet speaks of curl_easy_perform().

> res = curl_easy_perform(curl);

> The error message I get from this is 'Couldn't connect to host'. Even
> through a simple command line like 'curl'would give me a
> connection refused error.

Right, so those are two different connect errors. Why is that relevant?

> Plus it works on some Linux distros

On the same network with the same config you mean?

> Why is it not working (seemingly) on older Linux distros?

Here are some tools that can help you determine what happens:

- wireshark
- tcpdump
- strace

List admin:
Received on 2009-10-28