public static boolean preferIPv6Addresses() {
    return useIPv6Addresses;
  }
All classes should use this instead of relying on the JRE system property
geode-common/src/main/java/org/apache/geode/internal/inet/LocalHostUtil.java