0
我使用Node SMPP,并得到一个错误:Node.js的SMPP EALREADY错误
错误:连接EALREADY 1.1.1.1:4411 - 本地(1.1.1.2:60240)
var smpp = require('smpp');
var session = smpp.connect('1.1.1.1',4411);
session.bind_transceiver({
system_id: 'test',
password: 'test'
}, function(pdu) {
if (pdu.command_status == 0) {
// Successfully bound
console.log('bound bind_transceiver')
}
});
我试图将IP地址和端口更改为不存在但总是EALREADY。谢谢你的帮助。
是的,我试过smpp.connect( 'SMPP://1.1.1.1:4411')也与同样的结果 –
也许你正在尝试绑定不止一次?错误EALREADY听起来很像现在已经存在。将很高兴有这方面的更多信息,你想绑定在你自己的smpp服务器上? – Leandro
通过重新安装smpp模块解决了一个问题。 –