标签:java code col .net system sys whether rip bug
Java程序IP v6与IP v4的设置
//Prevent to get IPV6 address,this way only work in debug mode //But you can pass use -Djava.net.preferIPv4Stack=true,then it work well whether in debug mode or not System.setProperty("java.net.preferIPv4Stack", "true");
标签:java code col .net system sys whether rip bug
原文地址:https://www.cnblogs.com/stono/p/9078643.html