ECONNREFUSED with BullMQ
Hello, I'm trying to send a test job to my bullmq from this template: https://railway.app/template/odzp-I
It installed a queue service and a Redis with a volume. Everything seems simple. Haven't changed anything...
I'm trying to add a job to bullMQ but I get this error:
connect ECONNREFUSED 35.212.174.161:16665
24 Replies
Project ID:
38fc8a8d-a112-4873-ab2e-ca4a58f887ac
38fc8a8d-a112-4873-ab2e-ca4a58f887ac
someone? Any ideas?
does bullmq communicate with TCP or http?
tcp
default port for bullmq is 6379
which is the one that Railway creates
are you using the tcp domain and port railway provided
what you mean?
The one in the image, yes of course
show me how you are using it in code
Tried two ways as both should work...
1)
2)
can you connect to redis from a redis client like dbgate?
didn't tried
I can
you can connect?
yeah.. it works
I'm trying to add a job to bullMQ but I get this error: connect ECONNREFUSED 35.212.174.161:16665do you get this error locally or on railway?
locally
Im trying to execute that script on a nodejs backend
then this would be an issue with ioredis, maybe its not compatiable with the version of redis that railway runs
I see... ☹️
I'll try with different nodejs versions as well
I have nothing to lose...