public static String getLocalHost() {
        InetAddress address = getLocalAddress();
        return address == null ? LOCALHOST : address.getHostAddress();
    }
@author Robert HG (254963746@qq.com) on 7/23/14.
lts-startup/src/main/java/com/github/ltsopensource/startup/admin/NetUtils.java