【APM】更改http&https端口步骤

【APM】更改http&https端口步骤

Applications Manager 默认 http 和 https 访问都是开启的,在安装时可以选择端口。
默认端口http为 9090,https 为 8443。
变更端口的操作步骤如下:
1.停止Applications Manager服务。
2.登录安装Applications Manager的服务器,打开AppManager/conf文件夹,编辑AMServer.properties文件。

(1)如需更改 http 端口,更改am.webserver.port=newHttpPort,例如:
am.webserver.port=6060
(2)如需更改 https 端口,更改am.ssl.port=newHttpsPort,例如:
am.ssl.port=8443
更改完成后保存并关闭此文件。

3.启动 Applications Manager 服务,待服务启动成功后,以新端口访问。
注意:
1.AMServer.properties文件为产品配置文件,更改前拷贝一份AMServer.properties到桌面以防万一。
2.Linux 文件路径和操作步骤相同。