@Override
  public String toString() {
    if (hostName != null) {
      return hostName;
    } else {
      return inetSocketAddress.getAddress().toString();
    }
  }
HostAddress is a holder of a host name/address. It is the primary
way to specify a host address that may or may not be resolvable to an InetAddress.
<p>
This class preserves the hostName string passed in to its constructor that takes a
hostName string and will respond with that string when asked for a hostName.

@see HostAndPort which can hold both a host name and a port
geode-tcp-server/src/main/java/org/apache/geode/distributed/internal/tcpserver/HostAddress.java