阿里云机器上执行 locusts 命令出现 OSError: [Errno 97] Address family not supported by protocol...

阿里云ECS 系统为 CentOS 6.8 64位 使用 yum install nginx 安装完成后,执行 nginx 启动服务,提示: nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 这是因为服务器不支持IPV6的地址导致的。 解决方法: 编辑Nginx的配置文件:  
相关文章
相关标签/搜索