如何修改端口号,windows服务器

  • A+
所属分类:使用集成

1、修改alfresco-community\tomcat\conf\server.xml的68行左右

<Connector port="8336" URIEncoding="UTF-8" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" maxHttpHeaderSize="32768" />

2、修改alfresco-community\tomcat\shared\classes\alfresco-global.properties的alfresco.port、share.port部分

alfresco.context=alfresco
alfresco.host=127.0.0.1
alfresco.port=8336
alfresco.protocol=http

share.context=share
share.host=127.0.0.1
share.port=8336
share.protocol=http

3、修改alfresco-community\tomcat\shared\classes\alfresco\web-extension\share-config-custom,搜索localhost:8080,全局替换为新端口号

发表评论

您必须才能发表评论!