localhost refused to connect - MAMP Pro

社会主义新天地 提交于 2019-12-06 02:42:12

Turns out, Chrome (and Safari as well) were redirecting to https, so https://www.example.dev. And the problem was the .dev TLD.

If you run into the same problem (force forward by Chrome to https) and:

  • You DON'T use .dev, read this post for possible solutions
  • You DO use .dev as your local TLD, you need to change it to something else. Chrome redirects .dev TLDs to https since version 63. See this article and your best alternative TLDs here.
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!