Question

I set up a BOSH server using node-xmpp-bosh and configured converse.js (a javascript XMPP client) to use the BOSH url I set up, I tried log in with my jabber.org account on converse.js and all worked fine.

Now I need to make this work with a private XMPP server. Assume that the XMPP server is at chat.mysite.com:5222, a JID on the server is johndoe@mysite.com. How do I configure the BOSH server so that it connects to chat.mysite.com:5222 when I try to log in with johndoe@mysite.com on converse.js?

Était-ce utile?

La solution

You should add DNS SRV record _xmpp-client._tcp.mysite.com which should point to chat.mysite.com 5222

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top