設定邊緣 UI 的通訊埠編號
根據預設,Edge UI 會監聽已安裝邊緣的 Edge 節點 9000 個通訊埠。請按照下列程序變更通訊埠編號:
- 確認 Edge 節點上已開啟所需通訊埠號碼。
- 在編輯器中開啟
/opt/apigee/customer/edge-ui.d/ui.sh
。如果檔案和目錄不存在,請建立該檔案。
- 在
ui.sh
中設定下列屬性: export JAVA_OPTS="-Dhttp.address=IP -Dhttp.port=PORT"
其中 IP 是 Edge UI 節點的 IP 位址,PORT 是新的通訊埠編號。
- 儲存檔案。
- 重新啟動 Edge UI:
/opt/apigee/apigee-service/bin/apigee-service edge-ui restart
您現在可以透過新的通訊埠號碼存取 Edge UI。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-03-28 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]