code: private static String createMasterWebUrl() {
      InetSocketAddress masterWeb = NetworkAddressUtils.getConnectAddress(
          ServiceType.MASTER_WEB, ServerConfiguration.global());
      return "http://" + masterWeb.getHostString() + ":" + masterWeb.getPort();
    }
docs: Create AlluxioMaster web url.