public static String getServerHostName() {
    String serverBindAddress = System.getProperty(GEMFIRE_PREFIX + SERVER_BIND_ADDRESS);
    return serverBindAddress != null ? serverBindAddress : getCanonicalHostName();
  }
Returns the host name to use for a server cache in client/server DUnit testing.

@return the host name
geode-dunit/src/main/java/org/apache/geode/test/dunit/NetworkUtils.java