Fiz a instação do Redis e também a configuração do arquivo blacklist.js e server.js, mas está dando este erro agora.
App listening on port 3000
node:events:371
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1146:16)
Emitted 'error' event on RedisClient instance at:
at RedisClient.on_error (/home/lucas/Desktop/GitHub/NodeJS/04-Blog-do-codigo/node_modules/redis/index.js:341:14)
at Socket.<anonymous> (/home/lucas/Desktop/GitHub/NodeJS/04-Blog-do-codigo/node_modules/redis/index.js:222:14)
at Socket.emit (node:events:394:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 6379
}