nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
错误
sudo fuser -k 80/tcp
sudo fuser -k 443/tcp
如果想用service nginx start 就必须在etc/init.d文件中进行配置,里面包括:
start ../nginx 路径
stop ../nginx 路径
...
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
错误
sudo fuser -k 80/tcp
sudo fuser -k 443/tcp
如果想用service nginx start 就必须在etc/init.d文件中进行配置,里面包括:
start ../nginx 路径
stop ../nginx 路径
...
本文标题:nginx设置
本文链接:https://www.haomeiwen.com/subject/agkxeftx.html
网友评论