code: public synchronized final String getHost() {
          if (host == null) {
              InetSocketAddress adr = getEndpointAddress();
              
              if ( adr != null && !adr.isUnresolved()) {
                  host = getEndpointAddress().getHostName();
              }
          }
  
          return host;
      }
docs: Return the server host name.
  
  @return the server host name