Tomcat默认监听的是8080端口,如果想修改此端口号,打开
D:Program Filesapache-tomcat-8.0.3confserver.xml,找到如下代码段,修改port属性即可
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />