本文主要是介绍【nginx运维】[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
关于nginx端口被占用的问题:
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
这篇关于【nginx运维】[emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!