修改软件服务器端口的方法
官方指导方法http://www.o2oa.net/x_desktop/forum.html?app=ForumDocument&id=59122bde-32b7-4b93-9b44-32191392a3a6配置文件模版位置 o2server/config/sample/node_127.0.0.1.json
将配置文件复制到o2server/config/node_127.0.0.1.json
{
"enable": true,
"port":null,
"sslEnable":false,
"logLevel":"warn",
"isPrimaryCenter": true,
"application": {
"enable": true,
"port": null, # 这个是应用服务器端口,默认为20020
"sslEnable": false,
"proxyHost": "",
"proxyPort": null,
"forceRedeploy": true,
"scanInterval":5,
"includes":[],
"excludes":[]
},
"web": {
"enable": true,
"port": null, # 这个是应用服务器端口,默认为80
"sslEnable": false,
"proxyHost": "",
"proxyPort": null,
"forceRedeploy": true
},
"storage": {
"enable": true,
"port": null, # 这个是文件服务器端口,默认为20040
"sslEnable": false,
"name" : ""
},
"data": {
"enable": true,
"tcpPort": null,
"webPort": null,
"includes": [],
"excludes": []
}
}
web 服务器默认端口为80
应用服务器默认端口为20020 您好:您这是备注还是在修改的过程中碰到了什么问题。
还有一个中心服务器, centerServer.json 需要自己在web对应的位置增加"port":"8080",语句,把web端口修改为8080 这个文档里不是已经介绍,port 是端口号!
页:
[1]