@SuppressDeprecationForBackwardsCompatibilityTesting
  @SuppressWarnings("deprecation")
  public static String getIPLiteral() {
    try {
      return SocketCreator.getLocalHost().getHostAddress();
    } catch (UnknownHostException e) {
      throw new Error("Problem determining host IP address", e);
    }
  }
Returns the IP literal name for the current host. Use this instead of "localhost" to avoid IPv6
name resolution bugs in the JDK/machine config. This method honors java.net.preferIPvAddresses

@return an IP literal which honors java.net.preferIPvAddresses
geode-dunit/src/main/java/org/apache/geode/test/dunit/NetworkUtils.java