Error: getaddrinfo ENOTFOUND redis.railway.internal
theo-nejm
HOBBYOP

2 years ago

My redis server cant be accessed by my application.

19 Replies

theo-nejm
HOBBYOP

2 years ago

75f448f4-88c9-4d82-b428-61740d90e40c


theo-nejm
HOBBYOP

2 years ago

1290475774788505641


theo-nejm
HOBBYOP

2 years ago

Im getting so many error logs


2 years ago

the latest deploy is successful


theo-nejm
HOBBYOP

2 years ago

the deploy is not failing, the application is


theo-nejm
HOBBYOP

2 years ago

the application can connect to redis, bullmq no


theo-nejm
HOBBYOP

2 years ago

when I run the application locally, the same error happens


theo-nejm
HOBBYOP

2 years ago

when pointing to redis from railway


theo-nejm
HOBBYOP

2 years ago

my local docker redis works fine


2 years ago

when connecting to redis on railway locally, you need to use the public host and port


theo-nejm
HOBBYOP

2 years ago

the same happens to railway's app?


theo-nejm
HOBBYOP

2 years ago

my app is on railway


theo-nejm
HOBBYOP

2 years ago

and im getting the same error


2 years ago

im sorry the issue wasnt clear


theo-nejm
HOBBYOP

2 years ago

i am getting many error logs while trying to connect to redis using bullmq


2 years ago

please read this -

bullmq uses ioredis


theo-nejm
HOBBYOP

2 years ago

it works


theo-nejm
HOBBYOP

2 years ago

thanks


2 years ago

no problem!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...