private void setupHttpServer(String httpInterface, int httpPort, boolean findAny, boolean mustListen) {
boolean success = false;
for (; true; httpPort++) {
try {
m_rvdb.m_adminListener = new HTTPAdminListener(m_rvdb.m_jsonEnabled, httpInterface, httpPort, mustListen);
success = true;
break;
} catch (Exception e1) {
if (mustListen) {
hostLog.fatal("HTTP service unable to bind to port " + httpPort + ". Exiting.", e1);