简体   繁体   English

推送通知服务器问题

[英]Push notification server issue

I am using Apns for sending push notification , it is working with my dev server . 我正在使用Apns发送推送通知,它正在与我的dev server Here is the url 这是网址

http://website-center.co.il/projects/mobileapps/test1.php http://website-center.co.il/projects/mobileapps/test1.php

And here is the another server on which same script is applied. 这是另一台应用了相同脚本的服务器。

http://www.amigos-groups.com/mobileapps/test1.php http://www.amigos-groups.com/mobileapps/test1.php

For it I am getting error 为此,我得到了错误

Failed to connect: 111 Connection refused.

Is your certificate set correctly on the other site? 在其他站点上是否正确设置了您的证书? Post some code. 发布一些代码。

More information is needed in order to help you solve your problem. 需要更多信息以帮助您解决问题。 Please add your PHP code that is in question to your question. 请添加有问题的PHP代码。 Thanks. 谢谢。

Push certificates for production and development are different. 用于生产和开发的推送证书不同。 And to make more difficult device tokens for production and sandbox are different for the same device. 而且,更困难的是,用于生产的设备令牌和沙箱对于同一设备是不同的。 Cross check if these are correct and Im sure you must have faltered in this. 交叉检查这些是否正确,我确定您一定对此感到沮丧。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM