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

xd,六成是因为你服务地址转错了

比如我的(错误之前):

location /mtex/cda/ {
     proxy_pass  http://127.0.0.1:8621/mtex/cda/;
 }

因为我的是端口填错了,所以修改之后(端口由8621 改成 8611

location /mtex/cda/ {
     proxy_pass  http://127.0.0.1:8611/mtex/cda/;
 }

所以,xdm,记得根据自己实际情况填正确地址。

Logo

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐