Html 错误 102 (net::ERR_CONNECTION_REFUSED):服务器拒绝连接

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/9229317/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-28 22:27:02  来源:igfitidea点击:

Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection

htmlfacebookfacebook-graph-api

提问by Jeevan Dongre

I have developed the Facebook application, which clones the registration and sign_in part of my web site. The user can either register or sign in to my web site via Facebook. I have created a Simple HTML Page and embedded that page into facebook tab as a iFrame.

我开发了 Facebook 应用程序,它克隆了我网站的注册和登录部分。用户可以通过 Facebook 注册或登录我的网站。我创建了一个简单的 HTML 页面并将该页面作为 iFrame 嵌入到 facebook 选项卡中。

When I open the app as admin, its working fine, but when I asked my pal to check it out, it says page cant be loaded and gives this error

当我以管理员身份打开应用程序时,它工作正常,但是当我让我的朋友检查它时,它说无法加载页面并出现此错误

Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.

Kindly help me to solve this problem.

请帮我解决这个问题。

回答by Dominic Cronin

Is your friend on the same network as you? This error message is typically one that you get when a firewall is preventing communication.

你的朋友和你在同一个网络上吗?此错误消息通常是您在防火墙阻止通信时收到的消息。

If there are no firewalls between your friend and the server, then it could also be a firewall on the server, or that the server is configured only to accept certain kinds of connections (which is very normal for a server). Can you tell us anything about your server and how it is configured?

如果你的朋友和服务器之间没有防火墙,那么它也可能是服务器上的防火墙,或者服务器被配置为只接受某些类型的连接(这对于服务器来说是很正常的)。您能告诉我们有关您的服务器及其配置方式的任何信息吗?