简体   繁体   English

IE无法访问localhost,但chrome和firefox可以工作

[英]IE cannot access localhost, but chrome and firefox work

I have seen many threads with a similar question, but none of the answers have solved my issue. 我看到许多线程都遇到类似的问题,但是没有一个答案能解决我的问题。

I am running Apache on a Windows Server 2008 R2 Standard, on a non-standard port. 我在Windows Server 2008 R2 Standard(非标准端口)上运行Apache。 I can connect to localhost:12345 from Firefox and Chrome. 我可以从Firefox和Chrome连接到localhost:12345。 IE11 reports "This page can't be displayed". IE11报告“无法显示此页面”。

Using RawCap to capture the local interface shows that no packets flow when requesting the page from IE. 使用RawCap捕获本地接口表明,从IE请求页面时没有数据包流动。 If I do the same with Firefox or Chrome, packets are recorded (including SYN and SYN/RST when the webserver is shutdown). 如果我对Firefox或Chrome执行相同的操作,则会记录数据包(当网络服务器关闭时,包括SYN和SYN / RST)。

I have tried: 我努力了:

  1. Connecting with the localhost IP 使用本地主机IP连接
  2. Reducing all of the IE security settings to their minimum (including disabling protected mode) 将所有IE安全设置降至最低(包括禁用保护模式)
  3. Adding localhost and the local IP to trusted sites 将本地主机和本地IP添加到受信任的站点
  4. Ensuring there is no proxy server configured 确保没有配置代理服务器
  5. Adding a localhost entry to the hosts file 将本地主机条目添加到主机文件
  6. Disabling IPv6 禁用IPv6
  7. Running IE without add-ons 在没有附加组件的情况下运行IE

Grateful for any other suggestions. 感谢其他任何建议。

Not sure if this will work for you, but I think it's worth a try... 不知道这是否适合您,但我认为值得尝试...

1, Go to Tools --> Internet options --> Advanced (tab) 1,转到工具-> Internet选项->高级(选项卡)

2, Under Settings, scroll all the way down to Security section. 2,在“设置”下,一直向下滚动到“安全性”部分。

3, Try check or uncheck TLS and SSL options, one at a time preferably. 3,尝试检查或取消选中TLS和SSL选项,最好一次选择一个。

In my case, I unchecked TLS 1.2 and was able to resolved my issue. 就我而言,我未选中TLS 1.2,并且能够解决我的问题。 I left TLS 1.0 and 1.1 checked, as well as SSL 3.0. 我没有检查TLS 1.0和1.1,以及SSL 3.0。 You might have to play around with them a little bit. 您可能需要和他们一起玩一些。

If this doesn't work, then try the "Enable Enhanced Protected Mode" checkbox, which is located in the same place -- only a few lines above those TLS and SSL checkboxes. 如果这不起作用,请尝试位于同一位置的“启用增强保护模式”复选框-仅在那些TLS和SSL复选框上方几行。 You will have to restart after checking or unchecking this one. 选中或取消选中此选项后,您将必须重新启动。 It didn't work for me though. 不过,这对我没有用。

Hope this helps... 希望这可以帮助...

In my case Chrome was able to find the website but IE and firefox didn't. 就我而言,Chrome能够找到该网站,但IE和firefox找不到。 The solution in my case was to edit the hosts file 在我的情况下,解决方案是编辑主机文件

...\\windows\\system32\\drivers\\etc\\hosts ... \\ WINDOWS \\ SYSTEM32 \\ DRIVERS \\ ETC \\主机

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么在chrome中右键单击后send_keys无法工作,例如,firefox可以吗? - why send_keys can't work after right click in chrome and ie, but firefox is fine? Windows Virtualhost上的Apache:可在IE或Edge上使用,但无法在Chrome和Firefox上连接 - Apache on Windows Virtualhost: works on IE or Edge, but unable to connect on Chrome and Firefox 编写可在Window上运行的Firefox,Chrome和IE上移植的自定义协议处理程序 - Writing a custom protocol handler portable on Firefox, Chrome and IE running on Window 移动设备模拟器无法访问本地主机 - Mobile Device emulator cannot access localhost 如何使用C ++在IE,Firefox,Chrome和Safari中将网站设置为主页? - How set a website as homepage in IE, Firefox, Chrome and Safari with C++? 无法在 windows 上访问 Flink 仪表板 localhost:8081 - Cannot access Flink dashboard localhost:8081 on windows flutter web forms 在 mac 浏览器(firefox、chrome)中工作,但在 windows 或 ios 浏览器(firefox、chrome、safari)中不起作用 - flutter web forms work in mac browsers (firefox, chrome) but not in windows or ios browsers (firefox, chrome, safari) 代码适用于Firefox,但不适用于IE - Code works on firefox but not IE Google字体中的Woff字体在Chrome和IE上的加载效果很好,个人网络服务器上的自定义Woffs仅在Chrome上有效? - Woff fonts from Google Fonts load just fine on Chrome and IE, custom Woffs from personal web server only work in Chrome? 如何在IE 11的新标签页中自动打开下载的文件或Chrome中的边缘式文件下载功能 - How to auto open downloaded file in new tab in IE 11 or edge like file download work in chrome
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM