您的位置:首页 > 运维架构 > Nginx

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

2017-06-04 09:57 549 查看


[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/
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐