标签:重启 vim 查看 修改 server com connect 80端口 toc
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
标签:重启 vim 查看 修改 server com connect 80端口 toc
原文地址:https://www.cnblogs.com/Mesy/p/11216391.html