Google Chrome忽略主机文件 [英] Google Chrome Ignoring Hosts File
本文介绍了Google Chrome忽略主机文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Google Chrome浏览器忽略了C:/Windows/System32/drivers/etc/hosts
文件中的设置. IE11和Firefox都安装在同一台计算机上,并且可以按预期工作.
Google Chrome is ignoring the settings in C:/Windows/System32/drivers/etc/hosts
file. Both IE11 and Firefox are installed on the same machine and work as expected.
我尝试了所有可以在网上找到的解决方案,包括:
I've tried all the solutions I could find online including:
- 打开
chrome://net-internals/#dns
并单击清除主机缓存"按钮. - 进入设置",显示高级设置",然后取消选中以下三个选项:(X)使用Web服务帮助解决导航错误(X)使用预测服务帮助完成搜索和在地址栏中键入的URL(X)使用预测服务更快地加载页面
- 进入设置",显示高级设置",单击清除浏览数据"按钮,从开始时选择缓存的图像和文件",然后单击清除浏览数据".
- 重新启动Chrome.exe.
- 重新启动计算机.
- 确保将
http://
添加到网址的前面. - 确保已关闭代理设置
- 运行
cmd.exe
并运行ipconfig /flushdns
- 卸载并重新安装Chrome
- Open
chrome://net-internals/#dns
and click the Clear Hosts Cache button. - Go in Settings, Show Advanced Settings and uncheck the following three options: (X) Use a web service to help resolve navigation errors (X) Use a prediction service to help complete searches and URLs typed in the address bar (X) Use a prediction service to load pages more quickly
- Go in Settings, Show Advanced Settings, click the Clear Browsing Data button, selected Cached Images And Files from the beginning of time, and click Clear Browsing Data.
- Restart Chrome.exe.
- Restart the computer.
- Make sure to add
http://
to the front of the web address. - Make sure proxy settings are turned off
- Run
cmd.exe
and runipconfig /flushdns
- Uninstall and reinstall Chrome
我很茫然...我有什么想念或检查的地方吗?
I'm at a loss... Is there anything I missed that I can try or check?
推荐答案
Chrome似乎不喜欢此类扩展的以下扩展名:
Seems that Chrome doesn't likes the following extensions for that kind of stuff:
.dev
.localhost
.test
.example
.app
使用 .local ,问题似乎消失了.
Use .local and the problem seems to disappear.
这篇关于Google Chrome忽略主机文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文