1. 80端口被占用

./sbin/nginx
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] still could not bind()

 解决办法:

netstat -antp 找到80端口占用的进程

kill 进程

重启成功

posted on 2019-05-02 14:28  <meng>  阅读(86)  评论(0编辑  收藏  举报