curl / Mailing Lists / curl-library / 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.

Loopback ip

From: Александр Карелин via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 26 May 2022 17:37:12 +0300

Good day!
I have one issue when use curl. After performing a http request I call
method curl_easy_get info with second parameter CURLINFI_LOCAL_IP. And
every time I get 127.0.0.1 as a result, but my server is on another machine
with n network. How can it be possible?

And another related question:
What is the main difference between CURLINFI_LOCAL_IP and CURLINFI_PRIMARY_IP
parameter?

Regards, Alex K.


-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2022-05-26