Javascript Webkit 浏览器无法加载资源:net::ERR_CONNECTION_REFUSED
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/28290969/
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
Webkit Browsers Failed to load resource: net::ERR_CONNECTION_REFUSED
提问by Gurami Tateshvili
I have very strange problem with my website www.fanebi.com
我的网站 www.fanebi.com 有很奇怪的问题
The problem is that in Webkit based browsers (Google Chrome,Opera,Safari) the website loads with errors and I can see errors in console like:
问题在于,在基于 Webkit 的浏览器(Google Chrome、Opera、Safari)中,网站加载时出现错误,我可以在控制台中看到如下错误:
Failed to load resource: net::ERR_CONNECTION_REFUSED
无法加载资源:net::ERR_CONNECTION_REFUSED
Sometimes I get such errors for 10,20,30 files. It can be images, css files, js files and so on. So if I get error for css or js even whole website not loads properly.
有时我会收到 10、20、30 个文件的此类错误。可以是图片、css文件、js文件等等。因此,如果我遇到 css 或 js 错误,甚至整个网站都无法正确加载。
I don't see any problem with Firefox browser. It works just normal and website loads perfectly.
我没有看到 Firefox 浏览器有任何问题。它工作正常,网站加载完美。
This problem is appearing about since 1 week. Before this, there was no such problem.
这个问题大约从 1 周开始出现。在此之前,没有这样的问题。
Website is based on Wordpress engine. Whenever I had such problem, I checked my mac for malware but customers also have the same issue. So, it's not only the problem of my MAC and browser.
网站基于 Wordpress 引擎。每当我遇到此类问题时,我都会检查我的 Mac 是否存在恶意软件,但客户也遇到了同样的问题。所以,这不仅仅是我的 MAC 和浏览器的问题。
Can anybody help me to fix that huge problem?
有人能帮我解决这个大问题吗?
回答by Niels van Renselaar
This is an error thrown by AdBlock plus or simular programs. It's nothing to worry about, you can disable the extension to remove the 'errors'.
这是 AdBlock plus 或类似程序抛出的错误。不用担心,您可以禁用扩展程序以删除“错误”。
Edit: oh, it's posted in the comments too.
编辑:哦,它也发布在评论中。
回答by Gurami Tateshvili
It was a server issue, there was some limitations for my website, so, it was not working properly...
这是服务器问题,我的网站有一些限制,因此无法正常工作...
回答by georgehu_china
it always happened when visual studio is open. Actually, this is a feature of visual studio. so in order to avoid this, you could disable it in visual studio. more information, you can see here: http://www.asp.net/visual-studio/overview/2013/using-browser-link
它总是在visual studio打开时发生。实际上,这是visual studio的一个功能。所以为了避免这种情况,你可以在visual studio中禁用它。更多信息,你可以在这里看到:http: //www.asp.net/visual-studio/overview/2013/using-browser-link



