設定 New Edge UI 的通訊埠號碼

根據預設,New Edge UI (edge-management-ui) 會監聽安裝該 UI 的 Edge 節點通訊埠 3001。如要變更通訊埠編號,請按照下列步驟操作:

  1. 確認 New Edge UI 節點已開啟所需通訊埠編號。
  2. 在編輯器中開啟 /opt/apigee/customer/application/management-ui.properties。 如果檔案不存在,請建立檔案:
    vi /opt/apigee/customer/application/management-ui.properties
  3. 在 management-ui.properties 中設定 conf_uebe_port 屬性:
    conf_uebe_port=PORT

    其中 PORT 是新的通訊埠編號 (預設為 3001)。

  4. 儲存檔案,並確認檔案擁有者為 apigee 使用者:
    chown apigee:apigee /opt/apigee/customer/application/management-ui.properties
  5. 重新啟動新版 Edge UI:
    /opt/apigee/apigee-service/bin/apigee-service edge-management-ui restart

您現在可以透過新的通訊埠編號存取新版 Edge UI。