CSS Chrome 给出错误 **无法加载资源:net::ERR_NAME_NOT_RESOLVED** 而其他浏览器加载图像
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28018617/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Chrome give error **Failed to load resource: net::ERR_NAME_NOT_RESOLVED** while other browser load images
提问by Junaid Ahmed
when i open my site in google chrome it give error failed to load resourcemy images is not showing only in chrome browser but open on other browser can any body help ,e how to resolve this issue
当我在 google chrome 中打开我的网站时,它给出错误无法加载资源我的图像不仅在 chrome 浏览器中显示,而且在其他浏览器上打开,任何人都可以帮助,e 如何解决这个问题
回答by RobertS
I had the same issue. I'm working on Windows 8.1 system and had the problem with almost every page in Google Chrome, IE 11 and Firefox.
我遇到过同样的问题。我在 Windows 8.1 系统上工作,几乎在 Google Chrome、IE 11 和 Firefox 中的每个页面都有问题。
This is what worked for me. Run CMD as administrator and execute the following commands:
这对我有用。以管理员身份运行 CMD 并执行以下命令:
ipconfig /flushdns
ipconfig /renew
ipconfig /registerdns
I did not have to restart my PC, but everything worked again and all pages on the internet were avalible again.
我不必重新启动我的电脑,但一切都恢复了,互联网上的所有页面都再次可用。
回答by Homnath Bagale
As a quick test to see if that's your problem, start Chrome in incognito mode with extensions disabled (ctrl+shift+n) and see if your page works now. Note that by default all extensions will be already disabled in incognito mode unless you've specifically set them to run (via chrome://extensions). please refer to this
为了快速测试这是否是您的问题,请在禁用扩展程序的情况下以隐身模式启动 Chrome(ctrl+shift+n),然后查看您的页面现在是否可用。请注意,默认情况下,所有扩展都将在隐身模式下被禁用,除非您专门将它们设置为运行(通过 chrome://extensions)。 请参考这个
回答by Kon Rad
I've spent weeks fighting with this problem on 2 different unrelated computers, even unable to ping Yahoo.com and having variety of connectivity issues in web browsers, including "DNS_PROBE_FINISHED_NXDOMAIN" and "ERR_NAME_NOT_RESOLVED". I've tried various ipconfig commands, restarting DNS client service, "netsh winsock reset", and other solutions found on the internet.
我花了数周时间在 2 台不相关的计算机上解决这个问题,甚至无法 ping Yahoo.com 并且在网络浏览器中遇到各种连接问题,包括“DNS_PROBE_FINISHED_NXDOMAIN”和“ERR_NAME_NOT_RESOLVED”。我尝试了各种 ipconfig 命令、重新启动 DNS 客户端服务、“netsh winsock reset”以及在 Internet 上找到的其他解决方案。
Finally I realized the only common thing on both my computers was Malwarebytes. After closing/exiting Malwarebytes the problem was solved. I am now able to ping and access every website. The solution, again, at least in my case: close Malwarebytes
最后我意识到我的两台计算机上唯一的共同点是 Malwarebytes。关闭/退出 Malwarebytes 后,问题解决了。我现在可以 ping 和访问每个网站。再次,至少在我的情况下,解决方案是:关闭 Malwarebytes
I just contacted Malwarebytes support but in the meantime wanted to provide this possible solution here.
我刚刚联系了 Malwarebytes 支持,但同时想在这里提供这种可能的解决方案。
回答by Ita
This can be caused if the URL supplied is wrong, this was my case.
如果提供的 URL 错误,可能会导致这种情况,这就是我的情况。