private static void convertIPv4ToIPv6(NacosServiceInstance instance) {
		if (Pattern.matches(IPV4_REGEX, instance.getHost())) {
			String ip = instance.getMetadata().get(IPV6_KEY);
			if (StringUtils.isNotEmpty(ip)) {
				instance.setHost(ip);
			}
		}
	}
There is two type Ip,using IPv6 should use IPv6 in metadata to replace IPv4 in IP
field.
spring-cloud-alibaba-starters/spring-cloud-starter-alibaba-nacos-discovery/src/main/java/com/alibaba/cloud/nacos/balancer/NacosBalancer.java