Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

achatzi's avatar

cURL error 6: getaddrinfo() thread failed to start

Hello.

I have a laravel 5.7 application running on a windows server 2016 machine, using wamp.

This application makes api calls to a website and quite often I get this error

cURL error 6: getaddrinfo() thread failed to start

Does anybody know how can I resolve this? Is it some curl option that I must use?

Thanks.

0 likes
3 replies
Bobol's avatar

Hi @achatzi, I know it's a bit old but do you have found a solution for this ?

Ishatanjeeb's avatar

The error message "cURL error 6: getaddrinfo() thread failed to start" in Laravel usually indicates a problem with the cURL library or a DNS resolution issue. Can you please check your cURL version?

Please or to participate in this conversation.