KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working with Node.js and Express.js. I try to store an account in session. So, I tried to use a session with this code in Express.js var RedisStore = require('connect-redis')(express); app.use(express.bodyParser()); app.use(express.cookieParser()); app.use(express.session({ secret: "keyboard cat", store: new RedisStore })); but I got error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED
Tags (comma-separated)
Save Edits
Cancel