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

DDSameera's avatar

cURL error 6: Could not resolve host:

Could you please help me to fix this error ?

I m trying to integrate ZOOM API with laravel 8. I followed up this tutorial https://kim-jangwook.medium.com/manage-zoom-meeting-rooms-through-zoom-api-with-laravel-ff40b89f921b

Now i got this error

https://snipboard.io/EINxyT.jpg

0 likes
3 replies
DDSameera's avatar

@silencebringer I run these artisan codes . then error has been gone

php artisan route:clear
php artisan config:clear
php artisan cache:clear

Now i got new error :)

Illuminate\Http\Client\ConnectionException
cURL error 7: Failed to connect to api.zoom.us port 443: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://api.zoom.us/v2/users/me/meetings

Please note , i m accessing api.zoom.us via on localhost (WAMP)

1 like
DDSameera's avatar
DDSameera
OP
Best Answer
Level 3

@silencebringer Hey ! I added these record to etc/hosts file

127.0.0.1 api.zoom.us:80

and I watched this video & did same thing to my environment.

https://youtu.be/Fn1V4yQNgLs

Problem has been fixed ! however I appreciate your kind help ! to make success

Please or to participate in this conversation.