Grayscale profile picture

Patrique Ouimet


Laravel Valet cURL Errors Between Sites

Mon, Apr 8, 2019 2:07 PM

Laravel Valet cURL Error

If you're experiencing curl errors when using Laravel Valet and trying to communicate between sites

cURL error 6: Could not resolve: my-project.test (Domain name not found)

The fix is simply to add that domain to your /etc/hosts my-project.test

NOTE: For local development I've turned off SSL verification with an environment variable for Guzzle