Skip to content
Redis getaddrinfo ENOTFOUND
niemakestuff
OP

a year ago

My problem is the same as this: https://discord.com/channels/713503345364697088/1421551356879175853/1421551356879175853

I am using this library: https://github.com/redis/node-redis

Using family: 6 doesnt do anything :(

Solved

8 Replies

niemakestuff
OP

a year ago

I can connect to Redis using the public url but I would prefer to use the internal url

I've tried different methods of connecting but nothing works. I am not really sure what is the problem.


a year ago

According to the docs, family must be set to 0


a year ago

Have you tried that?


a year ago

That's only for ioredis


a year ago

oh, true


niemakestuff
OP

a year ago

i believe it is set to 0 by default on the lib im using


niemakestuff
OP

a year ago

i still couldnt find a way to make it work so I ended up switching to ioredis and it finally worked

not sure whats up with the previous lib i was using


a year ago

It may have been a super old version that never had support for IPv6.


Status changed to Solved brody • 12 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...