Bench init is not working

node:events:495
      throw er; // Unhandled 'error' event
      ^

Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on RedisClient instance at:
    at RedisSocket.<anonymous> (/opt/bench/erpnext/apps/frappe/node_modules/@redis/client/dist/lib/client/index.js:392:14)
    at RedisSocket.emit (node:events:517:28)
    at RedisSocket._RedisSocket_onSocketError (/opt/bench/erpnext/apps/frappe/node_modules/@redis/client/dist/lib/client/socket.js:218:10)
    at Socket.<anonymous> (/opt/bench/erpnext/apps/frappe/node_modules/@redis/client/dist/lib/client/socket.js:192:127)
    at Object.onceWrapper (node:events:632:26)
    at Socket.emit (node:events:517:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read'
}

Node.js v18.18.0
error Command failed with exit code 1.

bench init is throwing this error.

I have tried updating node version to 18.18,
Commented bind option in redis
Reinstalled all setup

ECONNRESET often indicates a network issue. Check if there are any network problems or firewall rules that might be blocking the connection between your application and Redis.