tomcat配置一个服务监听两个端口

<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

<Connector port="8090" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />

 

只要添加<Connector>即可。

posted @ 2015-12-14 19:37  Gradven  阅读(795)  评论(0编辑  收藏  举报