Bom dia.
não fiz o curso anterior pois já conheço sobre token JWT. Quero estudar direto sobre refresh Token mas na hora de executar o projeto está apresentando erro.
events.js:291
throw er; // Unhandled 'error' event
^
Error: Redis connection to 127.0.0.1:6379 failed - connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1145:16)
Emitted 'error' event on RedisClient instance at:
at RedisClient.on_error (/home/dev/Documentos/testes de dev/blog-do-codigo-2-aula0/node_modules/redis/index.js:341:14)
at Socket.<anonymous> (/home/dev/Documentos/testes de dev/blog-do-codigo-2-aula0/node_modules/redis/index.js:222:14)
at Socket.emit (events.js:314:20)
at emitErrorNT (internal/streams/destroy.js:92:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
errno: 'ECONNREFUSED',
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}
[nodemon] app crashed - waiting for file changes before starting...
alguém consegue me ajudar ?