阿里雲機器上執行 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的配置文件:  
相關文章
相關標籤/搜索