How to check connectivity of apns port 2195 from my hosting server?

后端 未结 5 1745
暗喜
暗喜 2020-12-13 10:31

I want to check if Push Notification can be done using a hosting server before purchasing hosting plan.what is the shortest way to check this.Also i have godaddy.com\'s host

5条回答
  •  無奈伤痛
    2020-12-13 11:08

    Use Curl if telnet command is not available.
    curl -v telnet://gateway.sandbox.push.apple.com:2195
    * Rebuilt URL to: telnet://gateway.sandbox.push.apple.com:2195/
    *   Trying 17.188.137.190...
    * TCP_NODELAY set
    * Connected to gateway.sandbox.push.apple.com (17.188.137.190) port 2195 (#0)
    
    Press Escape to close the connection
    * Closing connection 0
    

提交回复
热议问题