docs: private String getHostName() {
          try {
              return java.net.InetAddress.getLocalHost().getCanonicalHostName();
          } catch (java.net.UnknownHostException e) {
              return "localhost";
          }
      }