How to solve redis error in my node.js project on localmachine

  Kiến thức lập trình

Redis error. Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1595:16) {
errno: -4078,
code: ‘ECONNREFUSED’,
syscall: ‘connect’,
address: ‘127.0.0.1’,
port: 6379
}

I am setup node.js project on my localmachine but I am getting above error and I am not setup any redis in my localmachine.

I need to proper solution for this question

New contributor

Kuldip Shah is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

LEAVE A COMMENT