Port 4222 (TCP) is the standard for NATS Messaging. NATS — lightweight high-performance messaging system for cloud-native. Port 4222 — default client port. Cluster routing on 6222, HTTP monitoring 8222, WebSocket 8080. Used in C
Below: what uses this port, security considerations, online check, FAQ.
NATS Messaging
NATS — lightweight high-performance messaging system for cloud-native. Port 4222 — default client port. Cluster routing on 6222, HTTP monitoring 8222, WebSocket 8080. Used in CNCF projects, Synadia, HashiCorp Nomad. Throughput up to 18M msg/s on a single instance.
NATS without TLS + auth — all messages visible. Enable TLS + NKey/JWT auth + account isolation. Encrypt Jetstream persistent messages at rest.
Enterno.io Ping + Port checker tests TCP reachability of any port from 3 regions (Moscow / Frankfurt / Virginia).
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.
Choose packet count (3, 4, 6, 10). Stats: min/avg/max latency and packet loss.
Check 14 key ports: HTTP, HTTPS, SSH, FTP, SMTP, MySQL, PostgreSQL, and more.
Testing from our server — see site availability from outside, not just your local network.
Need constant monitoring? Create a monitor — checks every minute with notifications.
availability diagnosis
TCP port scanning
connection debugging
basic health check
Ping check history, host availability monitoring and downtime alerts.
Sign up freeNo, modern cloud providers (AWS, Google Cloud, Yandex) close all incoming ports by default. You must explicitly allow port 4222 in a Security Group or firewall.
Use <a href="/en/ping">Enterno Ping + Port Checker</a>. Or in shell: <code>nc -vz example.com 4222</code>.
Depends on the service. NATS Messaging should never be exposed publicly without authentication + TLS. See <a href="/en/s/research-open-ports-exposure-2026">our 2026 exposure research</a>.