Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

来源:互联网 发布:手机房间设计软件 编辑:程序博客网 时间:2024/06/09 20:37

[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

If you get following error, when you try to start nginx…

[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)

Then it means nginx or some other process is already using port 80.

You can kill it using:

sudo fuser -k 80/tcp

And then try restarting nginx again:

service nginx start


参考:https://easyengine.io/tutorials/nginx/troubleshooting/emerg-bind-failed-98-address-already-in-use/

阅读全文
0 1
原创粉丝点击