vim /usr/local/tomcat/conf/server.xml (tomcat为安装目录)
修改8080为80即可。
Connector port="80" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
查看8080端口使用情况
lsof -i:8080
重启tomcat
关闭: /usr/local/tomcat/bin/shutdown.sh
启动: /usr/local/tomcat/bin/startup.sh