有没有办法在Google的Chrome中禁用IPv6? [英] Is there a way to disable IPv6 in Google's Chrome?

查看:1101
本文介绍了有没有办法在Google的Chrome中禁用IPv6?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发Windows 7计算机上的网站。

当我安装Firefox时,我发现连接到本地主机时出现了一些性能问题,搜索时发现它与使用IPv6有关使用 about:config 并设置 network.dns。禁用IPv6 为真正的问题已经消失。



现在我对Google Chrome有同样的问题,但我找不到方法如果有什么办法的话)做同样的事情我已经用Firefox做了。



有什么建议吗?

解决方案

解决方法在答案罗伯特马萨(永恒的感激之情,我准备回复到IE浏览器本地开发)



好的措施:不要取消注释行

 #:: 1本地主机

我试过了,因为好奇,它使问题得以解决。


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?

解决方案

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.

这篇关于有没有办法在Google的Chrome中禁用IPv6?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆