← Port Encyclopedia
5222
XMPP
TCP
Messaging Medium Risk
XMPP client — Jabber instant messaging, ejabberd, Prosody

🔍 How to Scan Port 5222

nmap -sV -p 5222 target
nmap -sV -sC --script=banner -p 5222 target
nc -zv target 5222

🛡️ Security Considerations

  • Scan port 5222 with nmap -sV to identify the exact service and version
  • If XMPP is not needed, close or firewall this port immediately
  • Check for default credentials if a management interface runs on this port
  • Use searchsploit xmpp to find known exploits
  • Monitor traffic on port 5222 with Wireshark or tcpdump for anomalies
  • Ensure the service is patched to the latest version to prevent known CVE exploitation

📍 Nearby Ports