You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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.
  • No labels