标签:pre lse style 问题 read 服务器部署 默认 nbsp down
同一服务器部署多个Tomcat时,存在端口冲突问题,需要修改Tomcat配置文件server.xml,以tomcat7为例。
部署多个tomcat主要修改三个端口:
(1)http端口,默认8080,现修改为9080
<Connector port="9080" protocol="HTTP/1.1" connectionTimeout="60000" redirectPort="8443" disableUploadTimeout="false" executor="tomcatThreadPool" URIEncoding="UTF-8"/>
(2)远程停服务端口,默认8005,现修改为9005
<Server port="9005" shutdown="SHUTDOWN">......
(3)AJP端口,默认8009,现改为9009
<Connector port="9009" protocol="AJP/1.3" redirectPort="8443" />
标签:pre lse style 问题 read 服务器部署 默认 nbsp down
原文地址:https://www.cnblogs.com/jpflll/p/11805911.html