Google Chrome忽略主机文件 [英] Google Chrome Ignoring Hosts File

查看:153
本文介绍了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:

  1. 打开chrome://net-internals/#dns并单击清除主机缓存"按钮.
  2. 进入设置",显示高级设置",然后取消选中以下三个选项:(X)使用Web服务帮助解决导航错误(X)使用预测服务帮助完成搜索和在地址栏中键入的URL(X)使用预测服务更快地加载页面
  3. 进入设置",显示高级设置",单击清除浏览数据"按钮,从开始时选择缓存的图像和文件",然后单击清除浏览数据".
  4. 重新启动Chrome.exe.
  5. 重新启动计算机.
  6. 确保将http://添加到网址的前面.
  7. 确保已关闭代理设置
  8. 运行cmd.exe并运行ipconfig /flushdns
  9. 卸载并重新安装Chrome
  1. Open chrome://net-internals/#dns and click the Clear Hosts Cache button.
  2. 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
  3. 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.
  4. Restart Chrome.exe.
  5. Restart the computer.
  6. Make sure to add http:// to the front of the web address.
  7. Make sure proxy settings are turned off
  8. Run cmd.exe and run ipconfig /flushdns
  9. 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屋!

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