Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There can be several reasons why a java.net.BindException is thrown when initializing a TransportMapping for listening on traps or incoming SNMP requests:

  1. The port is 161 or 162 (or any other port below 1024) on an Unix system. Then you need to run your application/agent with root privileges to be able to bind that port.
  2. The port is already used by another application.