frederic_meunier
asked on
Windows 7 Address already in use: JVM_Bind
On a windows 7 platform with cygwin, I try to launch activemq which, in my case, use port 61619.
From time to time, an exception is thrown :
If I change my activemq conf in order to use another port (for instance 64000), it works fine.
Is it possible to have this exception even if netstat -ao doesn't list any process listening to this port?
Is it possible that a process reserves a range of ports, and if true, how to know which process and what range?
From time to time, an exception is thrown :
Caused by: java.io.IOException: Failed to bind to server socket: tcp://127.0.0.1:61619 due to: java.net.BindException: Address already in use: JVM_Bind
When this exception is thrown, I use netstat -ao: there is no process listening to port 61619.If I change my activemq conf in order to use another port (for instance 64000), it works fine.
Is it possible to have this exception even if netstat -ao doesn't list any process listening to this port?
Is it possible that a process reserves a range of ports, and if true, how to know which process and what range?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use Sysinternals TCPView (http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx) for more infos.