Node-redis: Error: Redis connection - getaddrinfo ENOTFOUND

Created on 29 Mar 2017  路  5Comments  路  Source: NodeRedis/node-redis

Error: Redis connection to my-remote-host:6379 failed - getaddrinfo ENOTFOUND my-remote-host my-remote-host:6379

  • Version: 2.6.5
  • Platform: node 6.10.1 x64 on Windows 10 )
  • Description: Only that error log, no other exception; and it seems it did not crash the node server

Not sure this following log is related or not:
at errnoException (dns.js:28:10)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:76:26)

question

Most helpful comment

I'm sorry to re-open this, but I'm getting the exact same error (on High Sierra). I don't see the answer provided by @rockroller.

All 5 comments

Is this Redis Issue?
Doesn't it look more like your node my-remote-host my-remote-host was not available at that tiny moment?
Later error refers to same, It could not resolve your hostname.
Check also [options.lazyConnect] depending what is the purpose.

Exactly what @rockroller says. Thanks for that!

I'm sorry to re-open this, but I'm getting the exact same error (on High Sierra). I don't see the answer provided by @rockroller.

@natotthomer ENOTFOUND is a connection issue - your node script is not able to connect to the Redis server at the specified address - check your redis server as said by the ghost user (@rockroller evidently left github).

@stockholmux Thanks! That was exactly the problem.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jackycchen picture jackycchen  路  4Comments

shmendo picture shmendo  路  6Comments

id0Sch picture id0Sch  路  4Comments

b96705008 picture b96705008  路  7Comments

abhaygarg picture abhaygarg  路  5Comments