0

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
mysql@5.7 started root   /Library/LaunchDaemons/homebrew.mxcl.mysql@5.7.plist
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?

Tanmay
  • 3,009
  • 9
  • 53
  • 83

1 Answers1

0

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:

conf-file=/Users/OLD_USER_NAME/.config/valet/dnsmasq.conf

conf-file=/Users/NEW_USER_NAME/.config/valet/dnsmasq.conf

Comment out the first one

Tanmay
  • 3,009
  • 9
  • 53
  • 83