public String getHostnameForClients() {
    String result = hostnameForClients;
    if (result != null && result.equals("")) {
      result = null;
    }
    return result;
  }
Returns the hostname that will be given to clients so that they can connect to this locator.
Returns <code>null</code> if clients should use the bind address.

@return the hostname that will be given to clients so that they can connect to this locator
@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/distributed/Locator.java