首页 > 代码库 > Nginx [emerge]: bind() to 0.0.0.0:80 failed

Nginx [emerge]: bind() to 0.0.0.0:80 failed

1 问题描述:

启动nginx服务时出现:Nginx [emerge] :bind() to 0.0.0.0:98 failed (98: Address already in use)


2 问题解决:

    使用命令关闭占用80端口的程序:sudo fuser -k 80/tcp

Nginx [emerge]: bind() to 0.0.0.0:80 failed