public static String getLocalV4Ip() {
        try {
            InetAddress localHost = InetAddress.getLocalHost();
            String localIp = localHost.getHostAddress();
            if (validationIpV4FormatAddress(localIp)) {
                return localIp;
            }
        } catch (UnknownHostException ignored) {
            // skip
        }
        return LOOPBACK_ADDRESS_V4;
    }
TODO duplicate code
com.navercorp.pinpoint.bootstrap.util.NumberUtils.parseInteger();
commons/src/main/java/com/navercorp/pinpoint/common/util/NetUtils.java