Port 5222

xmpp-client · TCP/UDP

RangeRegistered port (1024–49151)
ProtocolTCP/UDP
Servicexmpp-client
ReferenceRFC 6120

Frequently asked questions

What is port 5222 used for?

Port 5222 is registered with the IANA for xmpp-client (TCP/UDP). Description: XMPP Client Connection; Reserved.

Is port 5222 a well-known port?

No. Port 5222 is in the range 1024–49151 (registered or user ports). Ordinary programs may open it without root privileges.

How do I check whether port 5222 is open?

Locally on Linux with ss -tulpn | grep ':5222\b', on Windows with netstat -ano | findstr :5222. To test a remote host use Test-NetConnection <host> -Port 5222 in PowerShell or nc -zv <host> 5222 on Linux/macOS.

How do I open port 5222 in the firewall?

Ubuntu/Debian (ufw): sudo ufw allow 5222/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=5222/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 5222" -Direction Inbound -Protocol TCP -LocalPort 5222 -Action Allow.

IANA registry entries

ProtocolServiceDescription (IANA)
TCPxmpp-clientXMPP Client Connection
UDP–Reserved

Nearby entries