[SNMP4J] v3 listen example

Marian, Radu Radu.Marian at us.ing.com
Tue Aug 17 20:13:52 CEST 2004


Frank,

I am trying to use the following command on my WinXP machine:
	SNMP4J -u aSecurityName -Ol 0.0.0.0/162
And I get:
C:\Projects\snmp4j\snmp4j_tool>SNMP4J -u aSecurityName -Ol 0.0.0.0/162
Error while trying to send request: Address already in use: Cannot bind
java.net.BindException: Address already in use: Cannot bind
        at java.net.PlainDatagramSocketImpl.bind(Native Method)
        at java.net.DatagramSocket.bind(Unknown Source)
        at java.net.DatagramSocket.<init>(Unknown Source)
        at java.net.DatagramSocket.<init>(Unknown Source)
        at org.snmp4j.transport.DefaultUdpTransportMapping.<init>(DefaultUdpTransportMapping.java:63
)
        at org.snmp4j.tools.console.SnmpRequest.listen(SnmpRequest.java:147)
        at org.snmp4j.tools.console.SnmpRequest.main(SnmpRequest.java:703)

I also checked the archive at: http://p15141779.pureserver.info/pipermail/snmp4j/2004-June/000077.html <http://p15141779.pureserver.info/pipermail/snmp4j/2004-June/000077.html> 
But couldn't find any info about a possible resolution.

In my local application I am able to receive SNMP traps using SNMPTrapReceiver a freeware at:
http://www.ncomtech.com/download.htm <http://www.ncomtech.com/download.htm> 

TIA for your help,
Radu Marian
Application Infrastructure
> ING Americas - Technology Management Office
Phone: (860) 723-9067
Mobile: (860) 463-2476
On Call Pager: 8605200047 at archwireless.net
email: Radu.Marian at us.ing.com

> IA3 - Integrated Americas Adaptive Architecture
> TOMORROW.TODAY at ING
> 
> 

------------------------------------------------------------------------------
NOTICE: The information contained in this electronic mail message is confidential and intended only for certain recipients.  If you are not an intended recipient, you are hereby notified that any disclosure, reproduction, distribution or other use of this communication and any attachments is strictly prohibited.  If you have received this communication in error, please notify the sender by reply transmission and delete the message without copying or disclosing it.
==============================================================================



More information about the SNMP4J mailing list