开启或重启Nginx时报如下错误:
Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
原因是端口号80被其它程序或文件占用了
杀死占用端口号:
标签:Nginx,0.0,占用,nginx,报错,80,端口号 From: https://www.cnblogs.com/eternality/p/16923837.htmlsudo fuser -k 80/tcp
开启或重启Nginx时报如下错误:
Nginx [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use)
原因是端口号80被其它程序或文件占用了
杀死占用端口号:
标签:Nginx,0.0,占用,nginx,报错,80,端口号 From: https://www.cnblogs.com/eternality/p/16923837.htmlsudo fuser -k 80/tcp