Use java.net.preferIPv6Addresses=true