Skip to content

connecting to AWS ElasticCache #689

@jamesdixon

Description

@jamesdixon

Hi, I'm moving resources from Azure to AWS and am having trouble connecting to Elasticache through ioredis.

Here's my basic config:

const redisClient = new Redis({
  port: process.env.REDIS_PORT,
  host: process.env.REDIS_HOST
})

Here's my Elasticache instance:

image

When trying to connect, it just times out. The strange thing is that if I use node-redis with essentially the same config, it connects immediately.

Anything special that needs to be done?

Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions