Laravel Valet does not work without Internet Laravel Valet does not work without internet connection on my Mac. It works fine with internet connection.
When there is no internet, it gives me the "Safari cannot load a page because your computer is not connected to the internet" message.
How can I use Laravel valet without internet? Thanks in advance!
Turn off your wifi, when it's looking it tends to cut off any attempt at localhost
Hi @APPLE199
Just for my own curiosity, do you have the same behavior with Chrome or Firefox?
It also seem to be a "known" issue with Safari and dnsmasq service on Mac:
Chrome works well with wifi turned off, but not Safari.
In my case it helps to add your local domain to /etc/hosts, because safari or chrome think you want to reach a outside domain without internet connection.
Manual add your domain to /etc/hosts:
127.0.0.1 [yourdomain].test
@Salanta it works but does it means I need to add all website.test to hosts file? I added *.test but didnot work
Please sign in or create an account to participate in this conversation.