diff --git a/src/gateways/redis-io-adapter.ts b/src/gateways/redis-io-adapter.ts index e8c4467..307672e 100644 --- a/src/gateways/redis-io-adapter.ts +++ b/src/gateways/redis-io-adapter.ts @@ -7,7 +7,7 @@ export class RedisIoAdapter extends IoAdapter { private adapterConstructor: ReturnType; async connectToRedis(): Promise { - const pubClient = createClient({ url: `redis://localhost:6379` }); + const pubClient = createClient({ url: `redis://127.0.0.1:6379` }); const subClient = pubClient.duplicate(); await Promise.all([pubClient.connect(), subClient.connect()]);