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

a year ago

My redis server cant be accessed by my application.

19 Replies

theo-nejm
HOBBYOP

a year ago

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


theo-nejm
HOBBYOP

a year ago

1290475774788505600


theo-nejm
HOBBYOP

a year ago

Im getting so many error logs


a year ago

the latest deploy is successful


theo-nejm
HOBBYOP

a year ago

the deploy is not failing, the application is


theo-nejm
HOBBYOP

a year ago

the application can connect to redis, bullmq no


theo-nejm
HOBBYOP

a year ago

when I run the application locally, the same error happens


theo-nejm
HOBBYOP

a year ago

when pointing to redis from railway


theo-nejm
HOBBYOP

a year ago

my local docker redis works fine


a year ago

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


theo-nejm
HOBBYOP

a year ago

the same happens to railway's app?


theo-nejm
HOBBYOP

a year ago

my app is on railway


theo-nejm
HOBBYOP

a year ago

and im getting the same error


a year ago

im sorry the issue wasnt clear


theo-nejm
HOBBYOP

a year ago

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


a year ago

please read this -
bullmq uses ioredis


theo-nejm
HOBBYOP

a year ago

it works


theo-nejm
HOBBYOP

a year ago

thanks


a year ago

no problem!


Loading...