nginx启动失败问题:80端口占用

// 查看哪些端口在占用
netstat -anp | grep 80
// 查看具体被哪个程序占用
lsof -i :80
// kill进程
kill -9 [pid]
// restart   nginx服务
systemctl restart nginx
// 查看nginx状态 显示active(绿色)表示启动成功

 

posted on 2023-07-09 22:41  你就学个JVAV?  阅读(69)  评论(0)    收藏  举报

导航