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 :
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?