Websocket Error in DOCKER

I have installed ERP v:14 on docker with pwd.yml.

This Error is coming in Websocket container. Anyone has solved this problem or anyone one who can help.

2024-01-03 12:40:21 node:events:491
2024-01-03 12:40:21       throw er; // Unhandled 'error' event
2024-01-03 12:40:21       ^
2024-01-03 12:40:21 
2024-01-03 12:40:21 Error: connect ECONNREFUSED 127.0.0.1:12311
2024-01-03 12:40:21     at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16)
2024-01-03 12:40:21 Emitted 'error' event on RedisClient instance at:
2024-01-03 12:40:21     at RedisClient.on_error (/home/frappe/frappe-bench/apps/frappe/node_modules/redis/index.js:342:14)
2024-01-03 12:40:21     at Socket.<anonymous> (/home/frappe/frappe-bench/apps/frappe/node_modules/redis/index.js:223:14)
2024-01-03 12:40:21     at Socket.emit (node:events:513:28)
2024-01-03 12:40:21     at emitErrorNT (node:internal/streams/destroy:157:8)
2024-01-03 12:40:21     at emitErrorCloseNT (node:internal/streams/destroy:122:3)
2024-01-03 12:40:21     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
2024-01-03 12:40:21   errno: -111,
2024-01-03 12:40:21   code: 'ECONNREFUSED',
2024-01-03 12:40:21   syscall: 'connect',
2024-01-03 12:40:21   address: '127.0.0.1',
2024-01-03 12:40:21   port: 12311
2024-01-03 12:40:21 }