} catch (IOException e) {
log.error("Error starting the IOReactor", e);
}
NHttpServiceHandler handler = new ServerHandler(cfgCtx, params, sslContext != null, metrics);
IOEventDispatch ioEventDispatch = getEventDispatch(
handler, sslContext, sslIOSessionHandler, params);
state = BaseConstants.STARTED;
try {
if (bindAddress == null) {
ioReactor.listen(new InetSocketAddress(port));