skip to Main Content

Error Connecting to Online redis Database

I am trying to connect to my online redis database. const redis = require('redis'); const client = redis.createClient({ password: '<password>', socket: { host: <host> port: <port> } }); client.on('connect', function() { console.log('client connected'); }); client.on('error', function(err) { console.error('Error connecting to…

VIEW QUESTION
Back To Top
Search