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 [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)端口被占用
本文链接:https://www.haomeiwen.com/subject/ioweixtx.html
网友评论