Redis connection getting fall

Hello Guys,

I am deploying an script which is using redis server. it was working fine earlier but all of sudden when i am deploying new changes it’s start giving redis connection error and strangly it’s showing the redis server connection ip or host is wrong.

Jun 19 11:19:51 AM  Error: connect ECONNREFUSED
Jun 19 11:19:51 AM      at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
Jun 19 11:19:51 AM    errno: -111,
Jun 19 11:19:51 AM    code: 'ECONNREFUSED',
Jun 19 11:19:51 AM    syscall: 'connect',
Jun 19 11:19:51 AM    address: '',
Jun 19 11:19:51 AM    port: 6379
Jun 19 11:19:51 AM  }

while i am deploying the script with correct host.

Please help me to resolve this issue.


Hello all,

please guide me to resolve this.

Hi there,

Thanks for reaching out.

The error shared above shows the Redis client is trying to connect to, Redis will be running on its own instance and not localhost.

You’ll need to ensure your app is configured to use the connection string provided by the Redis service, more on this here: Connecting to Your Redis From Services on Render

Kind regards


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.