ng配置里有一项是接收ipv6地址
与IPV6有关,Address family not supported by protocol也进一步印证了
ipv6 is disabled on your server.
修改配置,将ipv6相关配置注释,也就是下面第二行
listen 8080;
listen [::]:8080 ipv6only=on; 这一行注释 可以解决问题
编译ng时需要加上ipv6的模块
具体查一下
Nginx emerg 8080 failed address family not supported by protocal
原文:https://www.cnblogs.com/minnie-huang/p/14850729.html