直接修改tomcat的端口 首先到tomcat目录\conf\下..打开server.xml 找到一下代码部分 <!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation --> <Connector port="80" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" disableUploadTimeout="true"/> <!-- Note : To disable connection timeouts, set connectionTimeout value to 0 --> 修改port="80" 中的80改为你想修改的端口就可以拉..
不能用..
怎么用
提示不是命令
首先到tomcat目录\conf\下..打开server.xml 找到一下代码部分
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
during installation -->
<Connector
port="80" maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true"/>
<!-- Note : To disable connection timeouts, set connectionTimeout value
to 0 -->
修改port="80" 中的80改为你想修改的端口就可以拉..
显示被system占用
???