force to reuse address in JMX RMI ServerSocket
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
This commit is contained in:
parent
43cc48d003
commit
aae162ca87
|
@ -243,6 +243,7 @@ public class ConnectorServer extends AbstractLifeCycle
|
|||
if (_sslContextFactory == null)
|
||||
{
|
||||
ServerSocket server = new ServerSocket();
|
||||
server.setReuseAddress(true);
|
||||
server.bind(new InetSocketAddress(address, port));
|
||||
return server;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue