nginx偶尔会报下面这个错误:

2019/05/20 10:54:56 [error] 717920#661892: *16943633 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 123.180.56.166, server: , request: "GET /reg/viewbalance HTTP/1.1", upstream: "http://[::1]:9997/reg/viewbalance", host: "www.xxxxxxx.xx:9998", referrer: "http://www.xxxxxxx.xx:9998/reg/main"

经搜索资料发现,需要将配置文件中的localhost127.0.0.1改为192.168.1.100即可解决。

nginx connect()错误(10061: No connection could be made because the target machine actively refused it)相关推荐

  1. connect() failed (10061: No connection could be made because the target machine actively refused it

    nginx运行web前端项目的时候出现了以下错误 项目在加载保存的图片的过程中,报错了,看了一下Nginx的错误日志 日志出现了connect() failed (10061: No connecti ...

  2. Redis错误:No connection could be made because the target machine actively refused it

    问题: 利用go连接远程阿里云centos主机的redis,代码如下: redisCli := redis.NewClient(&redis.Options{Addr: url,Passwor ...

  3. 【无标题】nginx 502 解决 No connection could be made because the target machine actively refused it

    win11 已经搭建好的环境突然全部nginx502,127.0.01拒绝访问 nginx日志如下 无法连接fastcgi9000端口 connect() failed (10061: No conn ...

  4. VS Test: No connection could be made because the target machine actively refused it 127.0.0.1:6910

    问题: 在做web测试和负载测试时,突然所有的测试有例都不能用了.显示错误:No connection could be made because the target machine activel ...

  5. 关于docker报错:No connection could be made because the target machine actively refused it.

    我是在win10下跑的docker 事情是这样的,今天安装好douker跑起来后报了一个很奇怪的错误` C:\Users\Administrator>docker ps error during ...

  6. connectex: No connection could be made because the target machine actively refused it.

    关于阿里云服务器出现以下错误的原因: connectex: No connection could be made because the target machine actively refuse ...

  7. consul注册报错 connectex: No connection could be made because the target machine actively refused it.

    consul注册报错 connectex: No connection could be made because the target machine actively refused it. Ge ...

  8. No connection could be made because the target machine actively refused it 127.0.0.1:8888

    No connection could be made because the target machine actively refused it 127.0.0.1:8888 你妹的微软 用的Wi ...

  9. 解决grpc连接报错connectex: No connection could be made because the target machine actively refused it

    如有帮助,欢迎留下足迹哦! 详情如下 code = Unavailable desc = connection error: desc = "transport: Error while d ...

最新文章

  1. 寒武纪上市:AI芯片和普通芯片有何不同?全球AI芯片公司大全都在这里了
  2. CCS卸载安装过程及所遇问题
  3. 【ABAP】 汇票收款自动过账FM
  4. Spring 开启Annotation context:annotation-config 和 context:component-scan诠释及区别
  5. C#-利用ZPL语言完毕条形码的生成和打印
  6. C#下如何实现服务器 + 客户端的聊天程序
  7. Hbase 2.0 RegionObserver使用
  8. 标题在图表上_Excel 2010基础应用:图表的创建与编辑
  9. fatal error C1083: Cannot open include file: 'iostream.h': No such file or dire
  10. 二进制安装mysql集群_实战mysql集群搭建(一)--centos7下二进制安装mysql-5.6
  11. mac解压错误22无效的参数_看看PHP 7.3新版本中的JSON错误处理
  12. 高中信息技术——Flash动画制作刷题点整理(一)
  13. 微软出品 Remote Desktop for Mac(远程连接工具) 汉化版
  14. 2015年1月c语言程序设 第二版,2015年电大1253+C语言程序设计A(2010年1月)小抄参考.doc...
  15. npm init vite@latest 报错
  16. Linux centos7 mysql 配置支持emoji表情包,笔记
  17. 第十一届Java B组蓝桥杯真题
  18. PDF转Excel(PS:学习使用VBA处理Excel)
  19. 二进制1010.0101转换为十进制
  20. 读《开放式文本信息抽取》赵军

热门文章

  1. 滴滴程序员被亲戚鄙视:年薪八十万不如二本教书的……
  2. 怎么让Eclipse对html和js代码自动提示
  3. Eclipse提示功能
  4. C++: byte和int的相互转化和LOBYTE+HIBYTE的应用
  5. 最近网络很火的支付宝 收款码 小议
  6. Mysql-基础命令
  7. python用三重引号_python三引号
  8. 苹果手机如何关闭自动续费_自动续费?教你这样一键关闭
  9. 【TensorFlow学习之路】一--TensorFlow基本概念
  10. openGL的特点及功能