Log all interfaces we try to bind before binding
This commit is contained in:
parent
88d482437a
commit
22ae0a161f
|
@ -404,6 +404,9 @@ public class NettyTransport extends AbstractLifecycleComponent<Transport> implem
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new BindTransportException("Failed to resolve host [" + bindHost + "]", e);
|
throw new BindTransportException("Failed to resolve host [" + bindHost + "]", e);
|
||||||
}
|
}
|
||||||
|
if (logger.isDebugEnabled()) {
|
||||||
|
logger.debug("binding server bootstrap to: {}", hostAddresses);
|
||||||
|
}
|
||||||
for (InetAddress hostAddress : hostAddresses) {
|
for (InetAddress hostAddress : hostAddresses) {
|
||||||
bindServerBootstrap(name, hostAddress, settings);
|
bindServerBootstrap(name, hostAddress, settings);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue