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 进程
重启成功
nginx(2)启动
原文:https://www.cnblogs.com/mm163/p/10802279.html