code: public static String getBindHost(ServiceType service, AlluxioConfiguration conf) {
      if (conf.isSet(service.mBindHostKey) && !conf.get(service.mBindHostKey)
          .isEmpty()) {
        return conf.get(service.mBindHostKey);
      } else {
        return getLocalHostName((int) conf.getMs(PropertyKey.NETWORK_HOST_RESOLUTION_TIMEOUT_MS));
      }
    }
docs: Helper method to get the {@link InetSocketAddress} bind address on a given service.
  <p>
  Host bind information searching order:
  <ol>
  <li>System properties or environment variables via alluxio-env.sh
  <li>Default properties via alluxio-default.properties file
  <li>A externally resolvable local hostname for the host this JVM is running on
  </ol>
  
  @param service the service name
  @param conf Alluxio configuration
  @return the bind hostname