curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Immediate connect fail for X.X.X.X: Invalid argument

From: Daniel Stenberg via curl-users <curl-users_at_cool.haxx.se>
Date: Wed, 24 Feb 2021 09:14:08 +0100 (CET)

On Tue, 23 Feb 2021, Aaron Bernardino via curl-users wrote:

> Looking for tips on why curl would return an immediate error when the
> loopback interface is used.

I suspect that's connect() returning EINVAL, but without more details it's not
easy to understand why it returns that. Does it perhaps bind to an IPv4
address but tries to connect to IPv6 ?

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | Private help, bug fixes, support, ports, new features
  | https://www.wolfssl.com/contact/
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2021-02-24