我正在使用SMPP和PHP来发送和接收消息。我遇到这个错误 试图发送消息。这是什么原因以及如何发送消息? 感谢。
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. )
答案 0 :(得分:0)
您的程序尝试连接到远程服务器,但在超时之前无法执行此操作。
可能有很多原因:服务器可能没有监听此端口,防火墙禁止访问它等等。
尝试使用telnet连接到该服务器以查找问题所在。
答案 1 :(得分:0)
SMPP通常需要从您的服务器绑定到他们的服务器。这可能包括白名单IP,用户/密码等...我会联系他们的服务台,因为这听起来是一个配置错误,无论是在你身边还是他们的。