Port 162 — UDP
Receiving SNMP traps and notifications from monitored devices.
What is port 162 used for?
SNMP alerts sent to a monitoring receiver.
Transport protocol
UDP
Security precautions
Restrict senders and protect the monitoring infrastructure.
Should we open this port in the firewall?
Allow this port only when a required service uses it. Apply least privilege: restrict authorized sources, destinations and interfaces, and log connections where appropriate.
How do I check this port?
Test-NetConnection -Port tests TCP, not UDP. Send an authorized test notification to the monitoring receiver, then inspect receiver logs and a packet capture.
Capture UDP 162 during a real application exchange and verify the request and response. UDP has no TCP-style handshake; a missing reply to a generic probe does not prove that the port is closed.
Port-to-service mappings are common conventions. Applications can use a different configured port; confirm the actual service and transport.