/usr/apache-tomcat-5.5.15/conf
编辑 server.xml
找到
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
<Connector port="60080" maxHttpHeaderSize="8192"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8"
compression="on"
compressionMinSize="2048"
noCompressionUserAgents="gozilla, traviata"
compressableMimeType="text/html,text/xml,text/javascript,text/css,text/plain"
/>
其中开头的 <Connector port="60080" 就是WEB端口
reboot后生效
VOS30002140web端口配置文件地址:vi /home/kunshiweb/base/apache-tomcat/conf/server.xml