not able to connect to redis in nodejs
First thing first, the details: node version: v16 Using redislabs cloud (v6.2.3) npm package redis version 4.0.3 Here's the code... const redis = require("redis"); require("dotenv").config(); const client = redis.createClient({ host: process.env.REDIS_URI, port: process.env.REDIS_PORT, password: process.env.REDIS_PASSWORD }); client.on("connect", () => {…