zurmokeeper
V2EX  ›  Node.js

Node.js 服务大部分时候连阿里云 Redis 是正常的,但是又时候会突然报 read ECONNRESET?

  •  
  •   zurmokeeper · Apr 2 · 2659 views
    This topic created in 226 days ago, the information mentioned may be changed or developed.

    求问大佬,我的 Node.js 服务 正常 连阿里云 Redis 是正常的,但是又时候会突然报 read ECONNRESET ?用的是 ioredis v5.4.1, 看了下阿里云 redis 的连接数 和带宽都是远远达不到,有可能是什么问题呢?

    1 replies  •  2026-04-08 23:11:29 +08:00
    humbass
    humbass
    Apr 8
    1
    服务在本地的话容易出错,node 代码在阿里云的 ECS 里头跑,也应该用内网 IP 来连接。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1888 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 08:10 · PVG 16:10 · LAX 00:10 · JFK 03:10
    ♥ Do have faith in what you're doing.