--

This is cause this article is missing a key point, after creating the client you need to connect to it, add this after createClient line:

client.connect();

client.on("connect", function () {

console.log("Connected to Redis");

});

--

--

Monish Basaniwal
Monish Basaniwal

Written by Monish Basaniwal

Developer by day, Hacker by night

No responses yet