Unhandled error event: Error: write EPIPE, Unhandled error event: Error: write ECONNRESET
Author: ghostCreated Aug 20, 2022Updated Sep 16, 2026
Labelsstale
Hello, I've been staying stuck for 2 hours.
const IORedis= require("ioredis");
const redis = new IOREDIS({ host: "localhost", port: 6379, db: 0, password: "1234", });
Above, you can see my code. Redis is running as a docker container.
Source: redis/ioredis