suther.land

Fix ERR_CONNECTION_REFUSED with Laravel Valet .dev Domains in Google Chrome

Starting with Google Chrome v63, any domain using the .dev extension will be forced to use HTTPS.

What does this mean?

If you’re using .dev in combination with Laravel Valet, you should switch to .test which is reserved specifically for developer use. You can easily do this by running the following Valet command:

valet domain test

Once you’ve done this, don’t forget to update the APP_URL in your project’s .env file and you should be good to go.