xmppo / node-xmpp-bosh

An XMPP BOSH & WebSocket server (connection manager) written on node.js using Javascript
https://github.com/xmppo/node-xmpp-bosh
263 stars 85 forks source link

How to connect to my own XMPP server? #108

Open simonxuhao opened 10 years ago

simonxuhao commented 10 years ago

I'm using converse.js (https://conversejs.org/) as XMPP client, I have set up node-xmpp-bosh and configured converse.js to use the BOSH url I set up, I tried log in with my jabber.org account on converse.js via node-xmpp-bosh and all worked fine. Now I need to make it work with my own XMPP server, which is (e.g.) at chat.mysite.com:5222. The jid will be like johndoe@mysite.com. How do I configure node-xmpp-bosh so that it connects to chat.mysite.com:5222 when I try to login with johndoe@mysite.com on converse.js?

Thanks