Port 5
rje · TCP/UDP
| Range | System/well-known port (0–1023) |
|---|---|
| Protocol | TCP/UDP |
| Service | rje |
Frequently asked questions
What is port 5 used for?
Port 5 is registered with the IANA for rje (TCP/UDP). Description: Remote Job Entry.
Is port 5 a well-known port?
Yes. Port 5 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 5 is open?
Locally on Linux with ss -tulpn | grep ':5\b', on Windows with netstat -ano | findstr :5. To test a remote host use Test-NetConnection <host> -Port 5 in PowerShell or nc -zv <host> 5 on Linux/macOS.
How do I open port 5 in the firewall?
Ubuntu/Debian (ufw): sudo ufw allow 5/tcp. Fedora/RHEL (firewalld): sudo firewall-cmd --add-port=5/tcp --permanent, then firewall-cmd --reload. Windows (PowerShell as administrator): New-NetFirewallRule -DisplayName "Port 5" -Direction Inbound -Protocol TCP -LocalPort 5 -Action Allow.
IANA registry entries
| Protocol | Service | Description (IANA) |
|---|---|---|
| TCP | rje | Remote Job Entry |
| UDP | rje | Remote Job Entry |