docs: public static InetAddress getInetAddress() {
          InetAddress inetAddress = null;
          try {
              inetAddress = InetAddress.getLocalHost();
          } catch (IOException ioe) {
              logger.error("Error in getting InetAddress", ioe);
          }
          return inetAddress;
      }