Error: connect ECONNREFUSED 127.0.0.1:6379
See original GitHub issueI received this error when I try to start my Node server in k8s
You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14)
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1129:14)
I am using bullmq that using ioredis
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
Redis connection to 127.0.0.1:6379 failed - Stack Overflow
but I got error Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED . Please help me resolve this problem.
Read more >Error: connect ECONNREFUSED 127.0.0.1:6379 · Issue #1713
Description Actually i'am using Redis with Bee Queue and i would like to try Bull the problem is i'am unable to connect to...
Read more >connect ECONNREFUSED 127.0.0.1:6379 - Fly.io
The error Error: connect ECONNREFUSED 127.0.0.1:6379 is continually logged and the queue cannot listen to onComplete changes.
Read more >Connect ECONNREFUSED 127.0.0.1:27017 - MongoDB
I'm receiving error connect ECONNREFUSED 127.0.0.1:27017 randomly today after my DB connection worked for over two years.
Read more >Connect ECONNREFUSED 127.0.0.1:80 - Node
(node:1571) [MONGODB DRIVER] Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
in your redis config:
While trying to connect to Redis right from inside a container, one can use this
host.docker.internal
as host and6379
as the port.