Nginx启动报错 98: Address already in use
Nginx 启动失败,提示nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误:出现以上错误,一般都是服务器的80端口被占用,这时查看 nginx情况如下:ps -ef|grep nignx上面显示没正常启动。可使用sudo fuser -k 80/tcp 命令杀掉使用80端口的程序 再重启nginx
Nginx 启动失败,提示nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) 错误:出现以上错误,一般都是服务器的80端口被占用,这时查看 nginx情况如下:ps -ef|grep nignx上面显示没正常启动。可使用sudo fuser -k 80/tcp 命令杀掉使用80端口的程序 再重启nginx