cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_easy_send() failure on some linux machines

From: Daniel Stenberg <daniel_at_haxx.se>
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 10.0.1.10:1500'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

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-28