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 进程
重启成功
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 进程
重启成功