# Ejabberd

Ejabberd is a self-hosted communication app. Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)

Canonical page: https://ourlocalhost.com/app/8431/ejabberd

## Description

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)

## Platform availability

Available on 2 of 10 platforms: Linux, Any server.

## Desktop and other devices

Linux.

## Health score

78/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 0 days ago)
- Popular: 77 (6,754 GitHub stars)
- Easy to install: 35 (2 install platforms, install notes)
- Security check: 78 (no serious findings, CI, tests, OpenSSF Scorecard 4.5/10)

## Links

- Official website: https://www.ejabberd.im/
- desktop: https://github.com/processone/ejabberd/releases/latest
- GitHub: https://github.com/processone/ejabberd
- Documentation: https://docs.ejabberd.im/

## Common questions

### Which ports do I need to open for ejabberd in Docker?

The setup exposes port 5222 for client-to-server chat connections, 5269 for server-to-server federation, and 5280/5443 for web admin and HTTP services. These must be mapped and open so clients and other servers can reach ejabberd.

### Why can't ejabberd save messages in the Docker container?

The container runs as user 'ejabberd' with UID/GID 9000, so mounted config and database folders must be readable and writable by that user (e.g. chown the database folder). Without this, ejabberd fails to save messages and account data.

### How do I keep my ejabberd config and chat data when upgrading the container?

Copy ejabberd.yml.example into a local conf folder, create a database folder, and mount both into the container. This keeps settings and chat data safe outside the container so they survive restarts and updates.

### Does ejabberd support message archiving and mobile push notifications?

Yes, the modules configuration includes mod_mam for message archive, mod_push for mobile push, plus mod_pubsub and mod_muc. These can be enabled in ejabberd.yml.

### Where can I get ejabberd installers or container images?

Installers are available from the ProcessOne download page or GitHub Releases for x64 and arm64, and you can run the ecs container image from Docker Hub or GitHub Packages. There is also an ejabberd container image for x64 and arm64.

### Is there an API for administering ejabberd?

Yes, ejabberd provides a comprehensive ReST API with a full API reference, and documentation explains how to configure it.

## Alternatives

- Matrix: Matrix is a free, open-source protocol and server for secure, decentralized real-time messaging.
- Openfire: Openfire is an open-source real-time collaboration (RTC) server that hosts your own XMPP (Jabber) instant messaging service.

---
Source: Our Local Host (https://ourlocalhost.com/app/8431/ejabberd), the self-hosted and open-source app directory.
