本地站点在Chrome上自动在https上 [英] local site is automatically on https on chrome

查看:224
本文介绍了本地站点在Chrome上自动在https上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的电脑上有更新(ubuntu),现在我在本地的主机不再工作了:
本网站无法访问
www.site.dev拒绝连接。
Try:

检查连接
检查代理和防火墙
ERR_CONNECTION_REFUSED



这个网址在firefox和postman上适用于我的api,所以我有点迷路了!

这篇文章和我有我的解释。
https://ma.ttias .be / chrome-force-dev-domains-https-via-preloaded-hsts /



Chrome现在将所有.dev重定向到https ...所以我必须更改本地网站的扩展名或使用其他浏览器。



对于那些有相同问题的人,请不要使用chrome或重命名您的虚拟主机和主机文件到另一个扩展名,因为.dev不会在http中工作。

I had an update on my computer ( ubuntu) and now my host that i had in local is not working anymore : This site can’t be reached www.site.dev refused to connect. Try:

Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED

This same url works on firefox and postman for my api so I am a bit lost!

解决方案

I just saw this post and I have my explaination. https://ma.ttias.be/chrome-force-dev-domains-https-via-preloaded-hsts/

Chrome is now redirecting all .dev to https... so I have to change my extension of local website or use another browser.

For those ones that have same issue, don't use chrome or rename your vhost and host file to another extension because .dev won't work chrome in http.

这篇关于本地站点在Chrome上自动在https上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆