Nginx (linux)端口被占用

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

使用命令关闭占用80端口的程序

sudo fuser -k 80/tcp

启动Nginx

/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf  


启动起来效果

你可能感兴趣的:(Nginx (linux)端口被占用)