tomcat

9/6/2015来源:Java教程人气:2783

tomcat在Tomcat的conf文件夹里有个server.xml文件,修改里面的<Connectorport="80" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />这段代码,那个port值就是端口号!