mina-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zigor Salvador <ZigorSalva...@tourgune.org>
Subject AvailablePortFinder behavior...
Date Wed, 16 Jun 2010 13:22:09 GMT
Hi all,

I'm trying to get the next available port for my acceptor.bind() operation but the AvailablePortFinder
in org.apache.mina.util keeps returning the same port.

Application1 @ host -> int freeport = AvailablePortFinder.getNextAvailable();

freeport == 1024.

Application2 @ host -> int freeport = AvailablePortFinder.getNextAvailable();

freeport == 1024 !!!

I'm using MINA 2.0 RC1 and Mac OS X 10.6.4.

Thanks for any feedback,

Zigor.
Mime
View raw message