- 通过端口查看这个进程的pid
netstat -lnp|grep 8080 #8080请换为你的apache需要的端口
- 通过pid杀掉进程
kill -9 [PID]
centos上知道端口关闭进程
猜你喜欢
转载自blog.csdn.net/weixin_42483501/article/details/121925832
今日推荐
周排行