// Setup Redis var options = { "host": "192.168.1.116", } var redis = require("redis"), client = redis.createClient(options); client.on("error", function (err) { console.log("Error " + err); });