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

WebSocket only by disable BOSH service? #93

Closed 2k13yr closed 10 years ago

2k13yr commented 10 years ago

How to configure node-xmpp-bosh to run node-xmpp-bosh via WebSocket only without BOSH service?

dhruvbird commented 10 years ago

Sorry, but you can't currently do that since the websocket server uses the HTTP server to upgrade to websockets. You can prevent connections to the bosh service by blocking incoming connections to the port on which bosh is listening for incoming requests.