【发布时间】:2011-05-09 16:05:03
【问题描述】:
很久以来我一直在摸不着头脑,以摆脱以下错误消息。
警告:stream_socket_client() [function.stream-socket-client]:无法连接到 ssl://gateway.push.apple.com:2195(连接被拒绝)
我已尝试多次生成正确的证书,并确保该项目使用正确的捆绑标识符进行签名。
我也尝试过使用测试脚本 PHP(https://devforums.apple.com/message/50461) 和 Python (http://stackoverflow.com/questions/1052645/apple-pns-push-notification-services -sample-code) 但两者都给出相同的错误消息。
谁能帮我知道如何摆脱这个错误信息?
谢谢。
【问题讨论】:
-
我要检查我的机器是否拒绝 2195 端口 - stackoverflow.com/questions/1444753/…
标签: iphone push-notification apple-push-notifications