1.先安装lsof
yum install lsof
2.查看端口占用情况
lsof -i:80
3.修改/tomcat/conf/server.xml里的8080到80;
4.发现aliyundun进程占用了80端口
service aegis stop;
5.重启tomcat
cd tomcat/bin
./shutdown.sh
./startup.sh
1.先安装lsof
yum install lsof
2.查看端口占用情况
lsof -i:80
3.修改/tomcat/conf/server.xml里的8080到80;
4.发现aliyundun进程占用了80端口
service aegis stop;
5.重启tomcat
cd tomcat/bin
./shutdown.sh
./startup.sh
本文标题:Linux服务器修改Tomcat默认端口
本文链接:https://www.haomeiwen.com/subject/ndybeqtx.html
网友评论