Firefox and Chrome slow on localhost; known fix doesn't work on Windows 7

后端 未结 9 1581
长情又很酷
长情又很酷 2020-11-27 13:39

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,

9条回答
  •  遥遥无期
    2020-11-27 14:31

    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.

    # localhost name resolution is handled within DNS itself.
        127.0.0.1 localhost
    

    The hosts file is typically at C:\WINDOWS\system32\drivers\etc\hosts. To edit it in Win7, you'll need to run Notepad as administrator.

提交回复
热议问题