docs: public static boolean isPortAvailable(int port) {
  		try {
  			ServerSocket serverSocket = ServerSocketFactory.getDefault().createServerSocket(port, 1,
  					InetAddress.getByName("localhost"));
  			serverSocket.close();
  			return true;
  		} catch (Exception ex) { // NOSONAR
  			return false;
  		}
  	}