# WHATPORT(5269)

## NAME

port 5269 — XMPP server-to-server — The federation port — how one XMPP server talks to another so users on different domains can chat.

Protocol: TCP  
IANA registry

## DESCRIPTION

RFC 6120 assigns 5269 to XMPP server-to-server streams. When a user on one domain messages a user on another, the sending server looks up the target's _xmpp-server._tcp SRV record and opens a stream here, authenticating with TLS plus either certificates or server dialback. Prosody, ejabberd, and Openfire enable it whenever federation is on. It carries no client logins, so it appears only on actual XMPP servers.

## EXPOSURE

**Fine to expose.** Federation only works if this is publicly reachable; the risk to manage is spam and abusive peers, not exposure itself.

## CHECK

```sh
dig +short SRV _xmpp-server._tcp.TARGET && nc -vz -w 3 TARGET 5269
```

## SEE ALSO

- spec — [RFC 6120 — XMPP: Core](https://www.rfc-editor.org/rfc/rfc6120.html) (rfc-editor.org)
- docs — [ejabberd — listen modules and default ports](https://docs.ejabberd.im/admin/configuration/listen/) (docs.ejabberd.im)
- iana — [IANA port registry — 5269 (xmpp-server)](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=5269) (iana.org)

---

HTML: <https://whatport.net/5269/> · JSON: <https://whatport.net/5269.json> · full dataset: <https://whatport.net/ports.json>
