Firefox和Chrome在本地主机上运行缓慢;已知的修复程序在Windows 7上不起作用 [英] Firefox and Chrome slow on localhost; known fix doesn't work on Windows 7
问题描述
:: 1本地主机
然而, 在Windows 7中禁用 <如果您取消注释主机文件中的127.0.0.1行,Chrome会返回到本地主机URL上的快速自我。 hosts文件通常位于 Firefox and Chrome are known to be slow on localhost when IP6 is enabled. In previous versions of Windows, the simplest fix is to comment out this line from the hosts file, as explained in the answer to this question. However, as noted in this question, in Windows 7 this line is already commented out: Is there an alternative way to disable the Turns out if you uncomment the 127.0.0.1 line in the hosts file, Chrome goes back to its snappy self on localhost URLs. The hosts file is typically at 这篇关于Firefox和Chrome在本地主机上运行缓慢;已知的修复程序在Windows 7上不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
#本地主机名称解析在DNS本身内处理。
#127.0.0.1 localhost
#:: 1 localhost
:: 1本地主机
引用的另一种方法是:
#本地主机名称解析是在DNS本身内处理的。
127.0.0.1 localhost
C :\WINDOWS\system32\drivers\etc\hosts
。要在Win7中进行编辑,您需要以管理员身份运行记事本。::1 localhost
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
::1 localhost
reference in Windows 7?# localhost name resolution is handled within DNS itself.
127.0.0.1 localhost
C:\WINDOWS\system32\drivers\etc\hosts
. To edit it in Win7, you'll need to run Notepad as administrator.