【问题标题】:fsockopen() [function.fsockopen] : Error through SMPPfsockopen() [function.fsockopen]:通过 SMPP 出错
【发布时间】:2009-10-13 07:26:18
【问题描述】:

我正在使用带有 PHP 的 SMPP 来发送和接收消息。我在的时候遇到了这个错误 试图发送消息。这是什么原因,我该如何发送消息? 谢谢。

pfsockopen() [function.pfsockopen]: unable to connect to sms.korewireless.com:2777 (A 
connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. )

【问题讨论】:

    标签: php smpp


    【解决方案1】:

    您的程序尝试连接到远程服务器,但在超时之前未能连接。

    这可能有很多原因:服务器可能没有侦听此端口,您的防火墙禁止访问它等等。

    尝试使用 telnet 连接到该服务器以查找问题所在。

    【讨论】:

    • 此外,如果您可以访问诸如 nmap 之类的东西,您可以检查端口是否打开、过滤或阻止。
    【解决方案2】:

    SMPP 通常需要从您的服务器绑定到他们的服务器。这可能包括将 IP、用户/通行证等列入白名单...我会联系他们的帮助台,因为这听起来是您一方或他们一方的配置错误。

    【讨论】:

      猜你喜欢
      • 2013-05-30
      • 1970-01-01
      • 1970-01-01
      • 2011-08-22
      • 2011-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多