如何让我的服务器支持APN? [英] how to make my server support APNs?

查看:346
本文介绍了如何让我的服务器支持APN?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一些stackOverflow帖子中读到主机需要打开端口2195并支持apns下的推送通知。我是否让我的服务器支持apns。

i read in some stackOverflow post that The host would need to have port 2195 open and support push notifications under apns.how do i make my server to support apns.

此行在推送通知指南中的含义

what does this line means in Push Notification guide

要建立可信的提供商身份,我们应该在连接时使用
将此证书提交给APN点对点身份验证。

我需要通过我的原生应用程序建立与APns的连接吗?有人请解释一下

do i need to make a connection to APns through my native app? someone please explain this

推荐答案

几乎所有对你可以打开的套接字没有限制的服务器都准备好了APNS提供商。在您的项目代码中,您只需打开Apple服务器的套接字(或使用库)。

Pretty much any server that doesn't have restriction on what sockets you can open is ready to be an APNS provider. In your project code, you can just open a socket to Apple servers (or use a library).

我理解Google App Engine和基本上任何传统的共享Web托管块80以外的任何端口,所以你不能使用它们。但是,您可以查看 Urban Airship ,它提供基本上可从任何服务使用的RESTful API。它可能会变得昂贵。

My understanding that Google App Engine and basically any traditional shared web hosting block any port other than 80, so you cannot use them. However, you can look into Urban Airship that provides a RESTful API that basically use from any service. It might get pricy though.

这篇关于如何让我的服务器支持APN?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆