code: public String getHostAddress() {
          if( addr instanceof NbtAddress ) {
              return ((NbtAddress)addr).getHostAddress();
          }
          return ((InetAddress)addr).getHostAddress();
      }
docs: Return the IP address as text such as "192.168.1.15".