修改conf/server.xml

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


其中8080是端口号,修改,然后重启tomcat服务器即可;