配置外部通訊

如果要使其他主機能夠見到 Agent Controller,Agent Controller 必須開啟一個能夠連接遠端的裝置。 這個連線係利用部署主機上的單一埠來建立。 依預設,這個埠號為 10002,其指定在配置檔 serviceconfig.xml 中。不過,如果在 Agent Controller 的安裝期間啟用了安全, 配置檔中應指定另一個埠做為安全埠。這個埠僅會開啟供安全連線使用,且只有在啟用了 Agent Controller 的安全時才能使用。

指定不同的埠給 Agent Controller

您可以在配置檔內修改 AgentControllerConfiguration 元素的 port 屬性, 指示 Agent Controller 要用不同的埠。

請遵循下列步驟:

  1. 找出 serviceconfig.xml 配置檔。 請參閱相關作業。
  2. 利用編輯器來開啟它,再搜尋下列 XML 片段:
    <AgentControllerConfiguration version="5.0.0" activeConfiguration="default" loggingLevel="WARNING" loggingDetail="LOW" port="10002" securePort="10003">
  3. 將 port 屬性值改成 Agent Controller 要用的埠號。

附註:

相關作業
尋找配置檔
管理 Agent Controller