Skip to content
Cyril Peponnet edited this page Sep 2, 2015 · 3 revisions

Since ejabberd 15.04 websockets are available without additionnal plugins. This is blazing fast and it became the default service URL for Archipel UI in 2015.

The relevant section in ejabberd.yml file is:

    -
        port: 5280
        module: ejabberd_http
        request_handlers:
          "/xmpp": ejabberd_http_ws
        # if you want to use starttls with websock
        # the URI will be wss://
        # please be sure that the certificate belong
        # to a trusted AC in your browser
        # certfile: "/etc/ejabberd/ejabberd.pem"
        # tls: true
        web_admin: true
        http_bind: true

By default both BOSH and websockets are enabled. This way you can get connected to the XMPP Server:

  • using bosh with http(s)://FQDN:8280/http-bind
  • using websocket with ws(s)://FQDN:5280/xmpp
Clone this wiki locally