Build and Secure a simple Symfony API server using Auth0

Learn how to build a secured Symfony API server using Auth0.
Read more…

:writing_hand:t2: Brought to you by our guest author Olususi Oluyemi

What’s up Devs! Do you use Symfony? Please share any comments or feedback with us on this thread

Hello !

I have this error : cURL error 6: Could not resolve host
Do you know why ?

This topic was automatically closed after 30 days. New replies are no longer allowed.

Hello @Teyz,
Thank you for joining Auth0 Community!

The message you reported says that cURL is not able to resolve your server name (localhost in the case of the example in this article) of the server you are trying to reach out to. This has nothing to do with the application itself. Maybe you misspelled the URL or something in your system is blocking your DNS resolution (firewall? antivirus?)
A possible workaround is to use the local IP address 127.0.0.1 instead of localhost