return (addr == null ? hostname : addr.getHostName()) + ":" + port;
return (addr == null ? hostname : addr.toString()) + ":" + port;
  public String toString()  {    return (addr == null ? hostname : addr.getHostName()) + ":" + port;  }