Paypal IPN 调用 - fsockopen 超时
警告:fsockopen() [function.fsockopen]:无法 连接到 www.paypal.com:443 (连接超时)
这以前有效吗?并突然停止工作。 有什么想法吗?
这是电话:
$fp = fsockopen ('www.paypal.com', 443, $errno, $errstr, 30);
感谢您的帮助
Warning: fsockopen()
[function.fsockopen]: unable to
connect to www.paypal.com:443
(Connection timed out)
This has worked previously? And suddenly has stopped working.
Any ideas?
This is the call:
$fp = fsockopen ('www.paypal.com', 443, $errno, $errstr, 30);
Thanks for any help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据您的系统提供的错误,出站连接超时,您当前是否可以通过 telnet 之类的方式连接到端口 443 上的 www.paypal.com?
从本地盒子运行类似: telnet www.paypal.com 443 应该会显示它是否正在连接。我强烈怀疑有什么东西阻止了端口 443 出站,这导致了您的问题,因为 PayPal 不太可能阻止您使用其 IPN 服务。
According to the error your system is providing, it's timing out on the outbound connection, are you currently able to connect to www.paypal.com on port 443 though something like telnet?
Running something like: telnet www.paypal.com 443 from the local box should show if it's connecting. I strongly suspect that something is blocking port 443 outbound, which is causing your issue, as it's unlikely that PayPal would block you for use of their IPN services.