【发布时间】:2022-10-05 14:11:23
【问题描述】:
我正在尝试让 Valet 在运行 macOS 12.3 的新 MacBook Pro 上运行。 Homebrew、PHP 和 Composer 都安装得很好并且运行良好(据我所知)。
但是,一旦我安装 Valet 并尝试 ping foobar.test,它就不会返回 127.0.0.1(它是一些 198.#.#.# IP),我也无法在浏览器中访问它。我收到一条 ERR_CONNECTION_RESET 消息。
如果我直接在浏览器中访问127.0.0.1 或localhost,我会收到我期望的“404 - Not Found”代客信息。
运行brew services list,我得到以下信息:
Name Status User File
dnsmasq error 512 root ~/Library/LaunchAgents/homebrew.mxcl.dnsmasq.plist
mariadb started root ~/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
nginx error 256 root ~/Library/LaunchAgents/homebrew.mxcl.nginx.plist
php started root ~/Library/LaunchAgents/homebrew.mxcl.php.plist
unbound error 256 root ~/Library/LaunchAgents/homebrew.mxcl.unbound.plist
“错误”状态似乎很可疑,但多年来我一直在与 Valet 以前的机器作斗争做工作。
我试过重新启动我的 MacBook,重新启动 Valet(也称为 sudo),并删除/重新安装 Valet。似乎没有任何帮助。
不确定要尝试什么,因为在安装过程中没有任何结果导致错误。所有社区帖子似乎都指向重新安装 Valet,如前所述,这似乎没有帮助。
有任何想法吗?
【问题讨论】:
标签: macos command-line homebrew dnsmasq laravel-valet