Home / Port numbers / Port 5222
Port 5222: XMPP (client)
Chat apps connecting to an XMPP (Jabber) server. Port 5222 uses TCP.
- Port
- 5222
- Commonly used for
- XMPP (client)
- Transport
- TCP
- Encrypted
- Usually (STARTTLS)
- Range
- User (registered) port, 1024 to 49151
- Our advice
- Normally open on a server that provides this service
- IANA registration
xmpp-clientXMPP Client Connection (TCP)
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 5222 is used for
Port 5222 is where chat apps connect to an XMPP server. XMPP, once known as Jabber, is an open messaging standard: anyone can run a server, and it underlies many chat and notification systems.
Should port 5222 be open?
A public XMPP server keeps this open for its users. Require encryption for all connections and decide whether strangers may register accounts, since open registration attracts spammers.
Related ports
- Port 5269 (XMPP (server to server)): XMPP servers exchanging messages with each other
- Port 5223 (Apple Push Notification service): push notifications on iPhone, iPad and Mac
- Port 6697 (IRC over TLS): Internet Relay Chat, encrypted
See all port numbers for the full list and how ports, TCP and UDP work.
Previous: Port 5201 (iperf3) · Next: Port 5223 (Apple Push Notification service)