Home / Port numbers / Port 162
Port 162: SNMP trap
Alerts sent by network equipment to a monitoring system. Port 162 uses UDP.
- Port
- 162
- Commonly used for
- SNMP trap
- Transport
- UDP
- Encrypted
- No (v1, v2c); yes (v3)
- Range
- System (well-known) port, 0 to 1023
- Our advice
- Keep it closed to the internet
- IANA registration
snmptrapSNMPTRAP (TCP, UDP)
Registration: IANA Service Name and Transport Protocol Port Number Registry, retrieved 15 November 2026. The registered name can differ from the everyday use, because popular software often adopts a port without registering it. The description and advice are written by Home Net Guide and describe common practice: any program can be set to use any port.
What port 162 is used for
Port 162 receives SNMP traps: unprompted alerts that a device sends to the monitoring server when something happens, such as a link going down or a power supply failing. It is the reverse direction of the polling done on port 161.
Should port 162 be open?
Only the monitoring server listens on 162, and it should accept traps only from the equipment it manages. Traps are easy to forge over UDP, so they are treated as hints to investigate rather than proof.
Related ports
- Port 161 (SNMP): reading status and settings from network equipment
- Port 514 (Syslog): devices sending their log messages to a central server
See all port numbers for the full list and how ports, TCP and UDP work.