Can't connect to Redis service through internal URL "redis.railway.internal" can not be resolved
ronnel-matthew-robles
HOBBYOP

2 years ago

I have a nodejs service that uses bull for websockets and I'm trying to connect to the redis service but can't.

  • They are in the same project
  • They are in the same region
  • I know the express project has the right REDIS_URL

Getting this specific error logged:

```

Redis client error: Error: getaddrinfo ENOTFOUND redis.railway.internal

Nov 18 07:38:00

at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:107:26) {

Nov 18 07:38:00

errno: -3007,

Nov 18 07:38:00

code: 'ENOTFOUND',

Nov 18 07:38:00

syscall: 'getaddrinfo',

Nov 18 07:38:00

hostname: 'redis.railway.internal'

Nov 18 07:38:00

}

```

1 Replies

2 years ago

Your latest deployment no longer has redis errors, so I assume you saw this -

https://docs.railway.com/guides/private-networking#ioredis

I'd also like to mention that Youtube / Vimeo / Dailymotion / Vevo, etc downloaders are not allowed on this platform -

https://railway.app/legal/fair-use


Welcome!

Sign in to your Railway account to join the conversation.

Loading...