leizhiyuan commented on issue #12: URL: https://github.com/apache/incubator-seata-k8s/issues/12#issuecomment-1909113224
``` private static String convertIpIfNecessary(String ip) { if (isValidIPv4(ip) || isValidIPv6(ip)) { return ip; } else { try { return InetAddress.getByName(ip).getHostAddress(); } catch (UnknownHostException e) { throw new RuntimeException(e); } } } ``` 如果ip是一个合法的ipv4/ipv6,这里是不会去转换的。可以提供一下你pod的ip具体是什么,看看是不是之前还没有支持ipv6的版本。之前的这里没有支持ipv6,就会走下面 If the IP is a valid IPv4/IPv6 address, there will be no conversion here. Can you provide the specific IP of your pod to see if the previous version does not support IPv6? The previous version did not support IPv6 here, so it will proceed as follows. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@seata.apache.org For additional commands, e-mail: dev-h...@seata.apache.org