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