我看tomcat的server.xml中如下配置:
<Service name="Catalina">
<Connector port="8080"
protocol="org.apache.coyote.http11.Http11AprProtocol"
connectionTimeout="20000"
redirectPort="8443"
maxThreads="1000"
minSpareThreads="20"
acceptCount="1000"
debug="0"
disableUploadTimeout="true"
useBodyEncodingForURI="true"
enableLookups="false"
URIEncoding="UTF-8" />
<Engine name="Catalina" defaultHost
配置的是8080端口,但是访问的时候是默认的80端口,请问这是怎么配置的,还有我想配置为其他端口号怎么设置呢?
谢谢,祝生意兴隆
<Service name="Catalina">
<Connector port="8080"
protocol="org.apache.coyote.http11.Http11AprProtocol"
connectionTimeout="20000"
redirectPort="8443"
maxThreads="1000"
minSpareThreads="20"
acceptCount="1000"
debug="0"
disableUploadTimeout="true"
useBodyEncodingForURI="true"
enableLookups="false"
URIEncoding="UTF-8" />
<Engine name="Catalina" defaultHost
配置的是8080端口,但是访问的时候是默认的80端口,请问这是怎么配置的,还有我想配置为其他端口号怎么设置呢?
谢谢,祝生意兴隆