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