beryberykz
HOBBYOP
2 years ago
Have that log
[ioredis] Unhandled error event: Error: connect ECONNREFUSED ::1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED ::1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED ::1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED ::1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16)
Error: connect ECONNREFUSED ::1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1605:16) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 6379
}```3 Replies
2 years ago
Have you check this documentation https://docs.railway.app/guides/private-networking#known-configuration-requirements-for-ipv6
2 years ago
if you are getting an error for ::1:6379 it means you have not set up the redis client properly in code, please reference your redis client's documentation