我遵循的指示:iPhone推送通知无法连接到SSL服务器
How To Build An Apple Push Notification Provider Server 当我在我的MacOSX或Windows上使用并行桌面运行PHP脚本,该脚本工作。但只要我在我的托管上运行它,我得到的消息:
Warning: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Connection timed out) in provider.php on line 23
Failed to connect 110 Connection timed out
这是否与证书有关?如果是这样,我怎么能做一个证书,可以在我的主机所在的计算机上工作。
我已经在服务器上安装了.pem证书,仍然没有工作。我遇到了与上面相同的问题。 我能够在mylocal XAMPP服务器上运行,但不能在外部托管服务器上运行。 请帮我.. – Biranchi 2009-11-24 12:56:14