The question title says it all. Things that I tried:
1) Uninstalled laravel/valet composer package globally and reinstalled it. Reinstalled valet. No luck.
2) Deleted the ~/.config/valet/dnsmasq.conf
file and ran valet tld test
to reset all settings. Didn't work.
Output of brew services list
:
dnsmasq started root /Library/LaunchDaemons/homebrew.mxcl.dnsmasq.plist
[email protected] started root /Library/LaunchDaemons/[email protected]
nginx started root /Library/LaunchDaemons/homebrew.mxcl.nginx.plist
php started root /Library/LaunchDaemons/homebrew.mxcl.php.plist
redis started tanmay /Users/tanmay/Library/LaunchAgents/homebrew.mxcl.redis.plist
Someone on SO also had same issue, unfortunately, he did not specify where did he make the changes.
What can I do now?
For anyone facing the same problem:
1) Open the following file with a text editor:
/usr/local/etc/dnsmasq.conf
2) You will find two lines:
Comment out the first one