tomcat6 同时监听多个端口方法,如下所示(其中一个还是ssl)

tomcat 同事监听多个端口方法,如下所示(其中一个还是ssl),呵呵

 

 <Connector port="6060" maxHttpHeaderSize="8192"  URIEncoding="UTF-8"
				   maxThreads="300" minSpareThreads="25" maxSpareThreads="75"
				   enableLookups="false" redirectPort="8443" acceptCount="100"
				   connectionTimeout="20000" disableUploadTimeout="true"/>

    <Connector port="52073" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true" 
               maxThreads="150" scheme="https" secure="true" 
               clientAuth="false" sslProtocol="TLS" keystoreFile="/usr/local/wykj/keystore/nsp.keystore" keystorePass="111111" URIEncoding="UTF-8" /> 

 

你可能感兴趣的:(tomcat)