public static boolean isInvalidLocalHost(String host) {
        return host == null
                || host.length() == 0
                || host.equalsIgnoreCase("localhost")
                || host.equals("0.0.0.0")
                || (LOCAL_IP_PATTERN.matcher(host).matches());
    }
@author Robert HG (254963746@qq.com) on 7/23/14.
lts-core/src/main/java/com/github/ltsopensource/core/commons/utils/NetUtils.java