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