WHATPORT(5222) whatport.net WHATPORT(5222)
5222

XMPP client connection

An XMPP (Jabber) server accepting client logins — chat, presence, and push behind many apps.

TCP IANA registry

Description

RFC 6120 assigns 5222 to XMPP client-to-server streams: the client opens a TCP connection, exchanges XML stream headers, upgrades to TLS with STARTTLS, then authenticates over SASL. Prosody, ejabberd, and Openfire all listen here by default, and it is still the transport under group chat, IoT messaging, and several game and push backends. A scan hit means a real XMPP server, since the port has no common squatters.

Exposed to the internet?

Fine to expose

Public by design — but require STARTTLS (or use the direct-TLS port 5223) so credentials never cross the wire before encryption.

Check it yourself

$ printf "<stream:stream to='TARGET' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>" | nc -w 3 TARGET 5222

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.