默认访问端口
部署ETX环境时通过命令查询可看到ETX Server部署时默认的Web访问端口,如果安装时没有修改那么就是默认的8080和8443。
[root@etxserver1 ~]# cd /opt/etxsvr-12.0/ [root@etxserver1 etxsvr-12.0]# bin/etxsvr config dashboardHttpEnable=1 dashboardHttpsEnable=1 adminHttpEnable=1 adminHttpsEnable=1 dashboardHttpPort=8080 dashboardHttpsPort=8443 adminHttpPort=8080 adminHttpsPort=8443 dashboardHttpBindAddr= dashboardHttpsBindAddr= adminHttpBindAddr= adminHttpsBindAddr= httpToHttpsRedirection=0 httpsCipherSuites= logLevel=INFO logFilter= accessLogEnable=0 accessLogCompress=0 accessLogRetainDays=7 accessLogFormat= eulaAccepted=0 maintenanceMode=0 maintenanceModeMessage=Server is in maintenance mode. Please try again later. disableHelpIconInDashboard=0 maxJavaHeapSize=50% etxdbShmSize=128 etxdbMaxWorkerProcess=10 etxdbWorkMemory=4
修改默认端口
1、执行命令修改端口
# cd /opt/etxsvr-12.0/ # bin/etxsvr config dashboardHttpPort=80 Server setting 'dashboardHttpPort' has updated to '80' successfully. Please restart ETX Server to apply the change. # bin/etxsvr config adminHttpPort=80 Server setting 'adminHttpPort' has updated to '80' successfully. Please restart ETX Server to apply the change. # bin/etxsvr config dashboardHttpsPort=443 Server setting 'dashboardHttpsPort' has updated to '443' successfully. Please restart ETX Server to apply the change. # bin/etxsvr config adminHttpsPort=8443=443 Server setting 'adminHttpsPort=8443' has updated to '443' successfully. Please restart ETX Server to apply the change.
2、重启Server服务使之生效
[root@edayf_etxserver1 etxsvr-12.0]# bin/etxsvr restart Exceed TurboX Server is not running. Starting Exceed TurboX Server... Waiting Exceed TurboX Server with PID 8332 to become ready............ ETX Server Manager URL: http://eda-etxserver1:80/etx/admin https://eda-etxserver1:443/etx/admin Exceed TurboX Server started with PID 8332.