public boolean isLocalHost() { return NetUtils.isLocalHost(host) || getParameter(Constants.LOCALHOST_KEY, false); }