关于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时遇到80端口被占用的错误,介绍了使用`sudokill-9<进程ID>`关闭占用进程的方法,以及如何重新启动Nginx的服务。
6761

被折叠的 条评论
为什么被折叠?



