public static InetAddress getAnyLocalAddress() {
    return new InetSocketAddress(0).getAddress();
  }
Returns the special address that can be used to bind to all local addresses.
In most cases this will be "0.0.0.0".
geode-common/src/main/java/org/apache/geode/internal/inet/LocalHostUtil.java