nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 错误
来源:互联网 发布:人工智能发展的里程碑 编辑:程序博客网 时间:2024/06/06 07:52
centos6.8环境
修改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的方法不适用
阅读全文
1 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异常
- MATLAB使用及介绍
- LightOJ
- 测试——搜索引擎
- 如何从Eclipse导入github上的项目源码
- C++排序算法之简单选择排序
- nginx: [emerg] socket() [::]:80 failed (97: Address family not supported by protocol) 错误
- 算法系列——Intersection of Two Arrays II
- 使用源码交叉构建libgcrypt库
- 单例模式的七种写法
- Eclipse常用快捷键
- javascript笔记(入门)
- jq实现点击容器实现2张图片切换(改变src路径)
- Ubuntu配置SecureCRT使用root用户登录
- <C和指针----读书笔记1>