String result = HttpUtil.get("https://www.taobao.com/help/getip.php");我通过java 请求 https://www.taobao.com/help/g...,获取ipv6地址,放回的结果却是ipv4,在浏览器中请求是ipv6
String result = HttpUtil.get("https://www.taobao.com/help/getip.php");
使用的请求工具是Hutool的HttpUtil
我只能说我打开那网址,返回的就是ipv4
2.1m questions
2.1m answers
60 comments
57.0k users