Windows 8 - IE cannot reach sites listed in hosts file

回眸只為那壹抹淺笑 提交于 2019-12-03 13:14:42

I ran into the same problem.

In IE10 and IE11 protected mode is always on by default. Add the URL to the trusted sites at the security tab of Internet Explorer settings.

Also with Windows 8.1, unchecking "Automatically detect settings" at the LAN settings (connection tab) will enable custom entries in the HOSTS file.

In addition to Michael Hompus answer, here is a step by step guide to fix it:
1. In IE, click on gear icon (config) -> Internet Options
2. In the dialog box, click "Security" tab -> "Local intranet" -> click "Sites" button -> click "Advance" button
3. Type in your website, click "Add" button! Then close it and your are done!

This worked for me after upgrading to windows 8.1 and IE 11.

I had the same issue, where we load balance our site across multiple servers, and I try to hit each one individually. What worked for me is going into your Internet Options, and on the Security tab, just remove the checkmark next to "Enable Protected Mode (requires restarting Internet Explorer)" and it should start using your hosts file entries.

Kharmachanic

I went through all this and found that turning off the Proxy server checkbox fixed all my problems. I left the protection on.

See https://blogs.msdn.microsoft.com/fiddler/2011/12/10/revisiting-fiddler-and-win8-immersive-applications/ for a simple utility that allows you to disable the restriction so that you can load content from the localhost.

See https://blogs.msdn.microsoft.com/ieinternals/2012/03/23/understanding-enhanced-protected-mode/ for the gory details of the restriction introduced in Windows 8.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!