Connecting to Cluster not working in Private Network
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 17.6k
- Forks
- 2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 40
Description
I have two VPS in same Private Network
Service running on 10.0.0.1
Redis Server running on 10.0.0.3 (bind 0.0.0.0 in redis.conf)
- Try connect using createClient to one Master then connect to be successful
- Try connect using Redis Insight use SSH Tunnel or direct with firewall disabled then connect to be successful
- Try connect using createCluster to one Master or three Master or all Master and Slave then return error
Redis Client Error ECONNREFUSED: Failed to connect errno: 24 syscall: "connect"
Tested on two version 4.6.15 and 4.7.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with createCluster against the private-network Redis setup, comparing it with the working createClient path and the redis.conf bind setting. Trace the ECONNREFUSED connection attempt and verify whether the cluster connection succeeds or the limitation is clearly established and documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js, redis, typescript
- Domain
- backend, databases, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100