ETX(Exceed TurboX) 修改 Server Web 默认访问端口

899次阅读
没有评论

共计 1645 个字符,预计需要花费 5 分钟才能阅读完成。

一、默认访问端口

部署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.
正文完
 0
Yvan
版权声明:本站原创文章,由 Yvan 于2025-01-03发表,共计1645字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)