nginx启动报错,信息以下:nginx
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)web
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)orm
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)进程
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)it
.....webkit
使用ps ef|grep nginx,并未发现有nginx进程,有可能被其余进程占用,这时能够采用以下方式处理:grep
1. 查看80端口占用端口
netstat -ntplbind
2. 杀掉占用80端口的进程ps
kill -9 $pid