如题所述
你是说tomcat吗?tomcat在Tomcat 5.0\conf文件夹的server.xml里有
<Service name="Catalina">
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
可以设置.
<Service name="Catalina">
<Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" port="8080" redirectPort="8443" maxSpareThreads="75" maxThreads="150" minSpareThreads="25">
可以设置.
温馨提示:答案为网友推荐,仅供参考
第1个回答 2008-05-09
%Tomcat_Home%的CONF下的SERVER.XML
修改
<Connector port="8080" maxHttpHeaderSize="8192" URIEncoding="gb2312"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
将Connector port="8080"中的8080修改成新的端口 重启TOMCAT就可以了
修改
<Connector port="8080" maxHttpHeaderSize="8192" URIEncoding="gb2312"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
connectionTimeout="20000" disableUploadTimeout="true" />
将Connector port="8080"中的8080修改成新的端口 重启TOMCAT就可以了
第2个回答 2019-11-15
你是说tomcat吗?tomcat在Tomcat
5.0\conf文件夹的server.xml里有
<Service
name="Catalina">
<Connector
acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
port="8080"
redirectPort="8443"
maxSpareThreads="75"
maxThreads="150"
minSpareThreads="25">
可以设置.
5.0\conf文件夹的server.xml里有
<Service
name="Catalina">
<Connector
acceptCount="100"
connectionTimeout="20000"
disableUploadTimeout="true"
port="8080"
redirectPort="8443"
maxSpareThreads="75"
maxThreads="150"
minSpareThreads="25">
可以设置.