nginx Address already in use

在启动nginx 的时候出现这个问题:

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

说明该端口已经被绑定了,

这时候我们用命令:

ps -e aux|grep nginx

查看,找到进程后杀掉即可:

kill -9 pid

-9 是强杀的操作。

如下图:

image.png

更多博客文章请访问:
https://blog.csdn.net/xudailong_blog/article/details/78762262

猜你喜欢

转载自blog.csdn.net/xudailong_blog/article/details/80462548