I can't create cluster mode using version redis-6.0.9, even though redis-server is running successfully but I can't create a cluster, what's the problem? And I have enabled the following config in redis.conf

  • bind 0.0.0.0
  • cluster-enabled yes
  • cluster-config-file nodes-6379.conf
  • cluster-node-timeout 15000
  • appendonly yes

default port redis: 127.0.0.1:6379

redis-cli --cluster create 127.0.0.1:6379 127.0.0.1:6380 127.0.0.1:6381 127.0.0.1:6382 127.0.0.1:6383 127.0.0.1:6384 --cluster-replicas 1

and this not work

Comment From: hwware

Hello @restuwahyu13 , I think you need to start all the redis servers first, and then execute redis-cli --cluster create command. Please follow the following documentation tuturial: https://redis.io/topics/cluster-tutorial from the Creating and using a Redis Cluster section, thanks

Comment From: restuwahyu13

this problem solved, thanks @hwware