You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 23, 2020. It is now read-only.
Following is my code :
var comp = new nodexmpp.Component({
jid : 'admin@vhost.com',
password : "password",
host : "XMPP_IP",
port : 5280,
reconnect : true
});
comp.on("error", function(e){
console.log('IN ON ERROR ::' + e );
});
comp.on("connect", function() {
console.log("Inside connect.............");
});
The connection never seems to be successful, and I get an log of "In OnConnect" when I communicate on Port 5280.
However, when I connect on Port 80, I get the following console logs of varios events being invoked : http://screencast.com/t/j7sgfhqn
Neither of the cases, I get the ONLINE Event invoked.
My question is, what might have gone wrong in this case ? Any help or pointers can be great help. Thanks 1
Following is my code :
var comp = new nodexmpp.Component({
jid : 'admin@vhost.com',
password : "password",
host : "XMPP_IP",
port : 5280,
reconnect : true
});
comp.on("error", function(e){
console.log('IN ON ERROR ::' + e );
});
comp.on("connect", function() {
console.log("Inside connect.............");
});
The connection never seems to be successful, and I get an log of "In OnConnect" when I communicate on Port 5280.
However, when I connect on Port 80, I get the following console logs of varios events being invoked : http://screencast.com/t/j7sgfhqn
Neither of the cases, I get the ONLINE Event invoked.
My question is, what might have gone wrong in this case ? Any help or pointers can be great help. Thanks 1
P.S NOTE :