docs: public static String localHostName() {
          try {
              InetAddress localhost = InetAddress.getLocalHost();
              return localhost.getHostName();
          } catch (Exception e) {
              InternalLogFactory.getLog(AwsHostNameUtils.class)
                  .debug(
                      "Failed to determine the local hostname; fall back to "
                              + "use \"localhost\".", e);
              return "localhost";
          }
      }