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