- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [x] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: master
* Operating System version: all platform
* Java version: all version

### Steps to reproduce this issue

1. set SystemProperty "java.net.preferIPv6Addresses" to true.
2. call org.apache.dubbo.common.utils.NetUtils#isPreferIPV6Address().
3. check the return value.

### Expected Result

org.apache.dubbo.common.utils.NetUtils#isPreferIPV6Address() will return true when SystemProperty "java.net.preferIPv6Addresses" set to true.

### Actual Result

org.apache.dubbo.common.utils.NetUtils#isPreferIPV6Address() method ignore SystemProperty "java.net.preferIPv6Addresses" and always return false
}
    private static String[] getPatternHostAndPort(String pattern, boolean isIpv4) {
        String[] result = new String[2];
        if (pattern.startsWith("[") && pattern.contains("]:")) {
            int end = pattern.indexOf("]:");
            result[0] = pattern.substring(1, end);
            result[1] = pattern.substring(end + 2);
            return result;
        } else if (pattern.startsWith("[") && pattern.endsWith("]")) {
            result[0] = pattern.substring(1, pattern.length() - 1);
            result[1] = null;
            return result;
        } else if (isIpv4 && pattern.contains(":")) {
            int end = pattern.indexOf(":");
            result[0] = pattern.substring(0, end);
            result[1] = pattern.substring(end + 1);
            return result;
        } else {
            result[0] = pattern;
            return result;
        }
    }
    private static Integer getNumOfIpSegment(String ipSegment, boolean isIpv4) {
        if (isIpv4) {
            return Integer.parseInt(ipSegment);
        }
        return Integer.parseInt(ipSegment, 16);
    }
}