skip to Main Content

Not able to connect to heroku redis

const redis = require("redis"); let client = redis.createClient({ host: process.env.host, port: process.env.port, password:process.env.password }); (async () => { client.on('error', (err) => console.log('Redis Client Error', err)); await client.connect(); console.log("connected to redis") })(); I have added redis-heroku addon to my project, Now…

VIEW QUESTION
Back To Top
Search