【发布时间】:2018-06-11 17:00:37
【问题描述】:
自从 Chrome 和 Safari 开始在 .dev TLD 上强制进行 HTTPS 重定向以来,我在连接到我的 Laravel Valet 网站时遇到了问题。
在不知道 Chrome 和 Safari 已经做到这一点的情况下,我将 Valet 从 1.2 更新到了,并且没有考虑先签入 Firefox(doh!????)。我已经在 High Sierra (10.13.2) 上安装了 Laravel Valet (2.0.6) 的最新稳定版本,完全删除了 homebrew/php/php70 的运行版本并重新安装以确保现在已将 TLD 更改为 .test。
我可以 ping 域而不会丢失任何数据包,但是当我运行时
curl oldabp.test --verbose
我明白了
* Rebuilt URL to: oldabp.test/
* Trying 127.0.0.1...
* TCP_NODELAY set
* Connection failed
* connect to 127.0.0.1 port 80 failed: Connection refused
* Failed to connect to oldabp.test port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to oldabp.test port 80: Connection refused
我还使用this article 中的命令清除了 dns 缓存,重新启动代客服务并重新启动。我在每个步骤后重新测试,输出保持不变。
【问题讨论】:
标签: nginx dnsmasq connection-refused port80 laravel-valet