Port 222
rsh-spx · TCP/UDP
| Range | System/well-known port (0–1023) |
|---|---|
| Protocol | TCP/UDP |
| Service | rsh-spx |
Frequently asked questions
What is port 222 used for?
Port 222 is registered with the IANA for rsh-spx (TCP/UDP). Description: Berkeley rshd with SPX auth.
Is port 222 a well-known port?
Yes. Port 222 is in the range 0–1023 (system or well-known ports). On Linux and macOS only privileged processes may bind to these ports.
How do I check whether port 222 is open?
Locally on Linux with ss -tulpn | grep ':222\b', on Windows with netstat -ano | findstr :222. To test a remote host use Test-NetConnection <host> -Port 222 in PowerShell or nc -zv <host> 222 on Linux/macOS.
How do I open port 222 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 222/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=222/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 222" -Direction Inbound -Protocol TCP -LocalPort 222 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | rsh-spx | Berkeley rshd with SPX auth |
| UDP | rsh-spx | Berkeley rshd with SPX auth |