Have you followed any of these? https://laracasts.com/search?q=valet
Laravel Valet - Cannot ping, "Unknown host"
I recently got a MacBook and want to use Valet. I followed all the steps on the Laravel website but I cannot ping. If I do ping foobar.test I get "Unknown host"... I have been trying to fix this issue for this entire day but can't seem to find the answer anywhere. Even If I go to the site that I created called example. Example.test should return an echo but instead, it says "This site is not reachable" in chrome.
I'm really beginning to lose my patience. I think it has something to do with dnsmasq but I just don't know what. I have tried the following things
- Remove valet entirely and install it again
- Remove all services independently and installed them all again
- Reinstall Composer.
I just don't get the problem. Also when I upgrade the php version from 7.2 to 7.4 using brew update php and try to run valet. It says unlinked php. even though it is linked.... I just don't know what to do.
Edit:
I opened the console and looked for dnsmasq and I get the following error:
failed to create listening socket for 192.168.178.23: Permission denied
But all my brew services are run as root So i don't get why it says permission denied
Also, whenever I do dig foobar.test I see no answer section
Please or to participate in this conversation.