nginx 无法启动的原因及解决方法

问题现象

nginx 启动报错

emerg bind to 0.0.0.0 80 failed 98 address already in use nginx merg still could not bind

问题原因

netstat -anp | grep 80

查看到原因是80端口已经被占用了,所以无法启动

处理办法

先停止 nginx,停止命令:/etc/nginx stop,然后再启动。

Last modification:November 29th, 2018 at 11:07 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment