I have nestjs application running in docker container. It uses HttpService which uses '@nestjs/axios' to call some service trough http. I get this error:
Error: connect ECONNREFUSED 127.0.0.1:8081
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
Is there an existing issue for this?
Current behavior
I have nestjs application running in docker container. It uses HttpService which uses '@nestjs/axios' to call some service trough http. I get this error:
Code:
Minimum reproduction code
https://stackblitz.com/edit/typescript-6rdzmz?file=index.ts
Steps to reproduce
No response
Expected behavior
To return the request from service.
Package
Other package
No response
NestJS version
No response
Packages versions
Node.js version
No response
In which operating systems have you tested?
Other
No response