Is there a way to disable IPv6 in Google's Chrome?

荒凉一梦 提交于 2019-12-23 03:19:06

问题


I'm developing websites in a Windows 7 machine.

When I've installed Firefox I've found some performance issue specially on connecting to the localhost, googling around I've discovered that it's related to the use of IPv6 by the browser to resolve urls.

Using about: config and setting network.dns.disableIPv6 to true the problem is gone.

Now I've the same issue with Google Chrome, but I can't find a way (if there's a way) to do the same I've done with Firefox.

Any suggestions?


回答1:


The way around this is described in this answer by Robert Massa (eternal gratitude for that, I was ready to revert to IE for local development)

For good measure: do not also uncomment the line

#   ::1             localhost

I tried that out of curiosity and it made the issue return.



来源:https://stackoverflow.com/questions/3459002/is-there-a-way-to-disable-ipv6-in-googles-chrome

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