今天在做LNMP的时候,启动nginx服务,无法开启,导致网页打不开.把服务从起一下发现提示错误如下: Starting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use) nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)nginx: [emerg] bind() to 0.0.0.0:80 fai
1.nginx报错信息 早上通过LNMP部署owncloud 10.0.2的云盘环境,修改nginx配置文件后,重启报错:nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 2.分析并解决报错 看到 socket() [::]:80 failed,第一反应就是好像与IPV6有关,Address family not supported by protocol也进一步印证了我的想