关于nginx发布时候出现 nginx connect()错误(10061: No connection could be made because the target machine actively refused it)

今天用nginx代理iis程序出现了时而404的问题,也就是偶尔代理成功的现象,偶尔失败很不稳定,于是乎查看日志报错就是

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

然后查询资料,把配置文件中的localhost或127.0.0.1改为192.168.1.100即可解决问题

posted @ 2023-01-13 13:28  夜の弥漫  阅读(2831)  评论(0)    收藏  举报