【发布时间】:2012-06-19 19:37:02
【问题描述】:
我在使用 Facebook PHP-SDK 为我的网站实现 FB 登录时遇到上述错误。我尝试更改 iptables 以打开端口 80 和 443。目前我的 iptables 如下所示:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere multiport dports www,https state NEW,ESTABLISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:www
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:www
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:https
【问题讨论】: