Redis error
-
error event - 127.0.0.1:6379 - Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED events.js:72 throw er; // Unhandled 'error' event ^ Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED at RedisClient.on_error (/home/www/site.com/node_modules/redis/index.js:189:24) at Socket.<anonymous> (/home/www/site.com/node_modules/redis/index.js:95:14) at Socket.EventEmitter.emit (events.js:95:17) at net.js:441:14 at process._tickCallback (node.js:415:13)
At the same time, rediscovered and launched by a team redis-server
[8857] 29 Nov 18:14:31.466 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf [8857] 29 Nov 18:14:31.467 * Max number of open files set to 10032 [8857] 29 Nov 18:14:31.468 # Server started, Redis version 2.8.0 [8857] 29 Nov 18:14:31.468 * The server is now ready to accept connections on port 6379
-
You may have Redis launched without TCP, port 0 is in configuration. To work with TCP, a port should be identified, usually 6379. But it's better to work through unix-socket, so fast.