nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
来源:互联网 发布:vim for mac 编辑:程序博客网 时间:2024/05/21 11:17
entos6.5环境
修改nginx配置文件后,重启报错:
nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
解决办法:
vim /etc/nginx/conf.d/default.conf
将
listen 80 default_server;
listen [::]:80 default_server;
改为:
listen 80;
listen [::]:80 default_server;
重新启动nginx即可,网上说的那种kill掉nginx进程和ipv6 on的方法不适用
转来自 – dgut.check.cnki.net
阅读全文
0 0
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 报错
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 错误
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- Address family not supported by protocol family.
- 异常Address family not supported by protocol family
- ICE 异常Address family not supported by protocol family
- Address family not supported by protocol family: connect
- Strom本地模式Address family not supported by protocol family
- request time failed: java.net.SocketException: Address family not supported by protocol
- 解决:request time failed: java.net.SocketException: Address family not supported by protocol
- request time failed: java.net.SocketException: Address family not supported by protocol 解决办法
- ubuntu启动tftp服务cannot open IPv6 socket, disable IPv6: Address family not supported by protocol
- Android模拟器遭遇Address family not supported by protocol异常
- DTcms5(二)
- thinkPHP数据库操作
- Activity的启动模式变singleTask时,如何使用Intent传值
- 欢迎使用CSDN-markdown编辑器
- jq 插件 之 datatable 使用
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol)
- 【opencv】2. Mat简介
- 前端技术之小总结
- linux下c语言动态库生成方法
- 龙旗控股2015应届生招聘笔试考题
- HBase metric统计
- Pascal's Travels HDU
- Go 指南
- flex布局的学习总结