Switch Port & IP Address Management Software
You get an error as "Unable to bind to port" when attempting to start the Trap Listener Service from the SNMP Trap Receiver tool.
You will get this error in the following cases:
Check whether the port is already in use
From the command promt, check whether the trap port is in use using the command: netstat -aon. For example, if you have not changed the default trap port (162), you will get to see a line similar to below in Windows OS:
UDP 0.0.0.0:162 *:* 680
Note: If you are changing the Trap Port, the device which sends trap to OpUtils should also be configured to send traps to this port.
Start OpUtils as a Root User in Linux OS
In Linux OS, if you want to bind any application to ports between 1 and 1023, you require superuser privilege. This means, you should start OpUtils as a root user/super user to start the trap service at port 162.
Applies to: SNMP Trap Receiver
Keywords: SNMP, SNMP Traps, Trap Listener, Trap Manager, Trap Port, UDP Port