Skip to content

Port 5222: XMPP Jabber (clients)

Key idea:

Port 5222 (TCP) is the standard for XMPP Jabber (clients). Port 5222 — XMPP (Jabber) client connections (Prosody, Openfire, ejabberd). 5269 — server-to-server. Used in the WhatsApp backend (modified XMPP), legacy Facebook Messenger, Go

Below: what uses this port, security considerations, online check, FAQ.

Try it now — free →

What runs on this port

XMPP Jabber (clients)

Port 5222 — XMPP (Jabber) client connections (Prosody, Openfire, ejabberd). 5269 — server-to-server. Used in the WhatsApp backend (modified XMPP), legacy Facebook Messenger, Google Talk (deprecated), enterprise messengers.

Security considerations

STARTTLS mandatory in modern XMPP (RFC 6120). Plaintext auth rejected. Spam/abuse — use ejabberd mod_anti_abuse + pubsub rate limits.

Check this port online

Check port online →

Enterno.io Ping + Port checker tests TCP reachability of any port from 3 regions (Moscow / Frankfurt / Virginia).

Understanding XMPP and Its Use Cases on Port 5222

Security Considerations for Using Port 5222

Practical Examples: Configuring XMPP Clients for Port 5222

ICMP PingHost availability and latency
Port ScannerOpen TCP port detection
LatencyResponse time in milliseconds
Packet LossPercentage of dropped packets

Why teams trust us

ICMP+TCP
check protocols
14
key ports scanned
<2s
result
3
regions

How it works

1

Enter IP or domain

2

ICMP packets sent

3

Latency & packet loss shown

How Do Ping and Port Scanning Work?

Ping sends ICMP packets to a host and measures response time. Port scanning checks which TCP ports are open and accepting connections — helping diagnose serviceavailability issues.

Configurable Ping

Choose packet count (3, 4, 6, 10). Stats: min/avg/max latency and packet loss.

Common Port Scanner

Check 14 key ports: HTTP, HTTPS, SSH, FTP, SMTP, MySQL, PostgreSQL, and more.

Cloud-Based Check

Testing from our server — see site availability from outside, not just your local network.

Uptime Monitoring

Need constant monitoring? Create a monitor — checks every minute with notifications.

Who uses this

DevOps

availability diagnosis

Network engineers

TCP port scanning

Developers

connection debugging

SRE

basic health check

Common Mistakes

ICMP blocked = server is downMany servers block ICMP. Ping fails but site works — check ports instead.
High ping = server problemLatency depends on geography. 150ms between continents is normal, not an error.
Closed ports — cause for alarmClosed ports of unused services are good. Unnecessary open ports are a risk.
One check = sufficientNetworks are unstable. A single timeout ≠ a problem. Check multiple times or set up monitoring.

Best Practices

Combine ping and port checksPing shows host availability, ports show specific service availability. Use both.
Check from different locationsThe problem may be local. A cloud test shows the real picture.
Close unused portsEvery open port is a potential attack vector. Keep only necessary ports open.
Set up monitoringManual checks do not scale. Set up automated monitoring with notifications.

Get more with a free account

Ping check history, host availability monitoring and downtime alerts.

Sign up free

Learn more

Frequently Asked Questions

Is port 5222 open by default?

No, modern cloud providers close all incoming ports by default. Explicitly allow 5222 in your Security Group or firewall.

How to check if port 5222 is reachable?

Use <a href="/en/ping">Enterno Ping + Port Checker</a>. Or in shell: <code>nc -vz example.com 5222</code>.

Is port 5222 safe to expose?

Depends on the service. XMPP Jabber (clients) should be hardened (auth + TLS + rate limit) before public exposure. See <a href="/en/s/research-open-ports-exposure-2026">our 2026 exposure research</a>.

Try the live tool that powered this guide

Free plan — 20 monitors, 5-minute checks, no card required. Upgrade for 1-minute interval and multi-region monitoring.