R
Railway2mo ago
theo

Error: getaddrinfo ENOTFOUND redis.railway.internal

My redis server cant be accessed by my application.
Solution:
please read this - https://docs.railway.app/guides/private-networking#ioredis bullmq uses ioredis...
Jump to solution
13 Replies
Percy
Percy2mo ago
Project ID: 75f448f4-88c9-4d82-b428-61740d90e40c
theo
theoOP2mo ago
75f448f4-88c9-4d82-b428-61740d90e40c
theo
theoOP2mo ago
No description
theo
theoOP2mo ago
Im getting so many error logs
Brody
Brody2mo ago
the latest deploy is successful
theo
theoOP2mo ago
the deploy is not failing, the application is the application can connect to redis, bullmq no when I run the application locally, the same error happens when pointing to redis from railway my local docker redis works fine
Brody
Brody2mo ago
when connecting to redis on railway locally, you need to use the public host and port
theo
theoOP2mo ago
the same happens to railway's app? my app is on railway and im getting the same error
Brody
Brody2mo ago
im sorry the issue wasnt clear
theo
theoOP2mo ago
i am getting many error logs while trying to connect to redis using bullmq
Solution
Brody
Brody2mo ago
please read this - https://docs.railway.app/guides/private-networking#ioredis bullmq uses ioredis
theo
theoOP2mo ago
it works thanks
Brody
Brody2mo ago
no problem!
Want results from more Discord servers?
Add your server