Redis5.0 sets up a cluster on a linux

simulate a redis cluster on a linux host according to the tutorial https://redis.io/topics/clust...
on the official website, where the command to set up the cluster is as follows:

redis-cli --cluster create 127.0.0.1:7000 127.0.0.1:7001 \
127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005 \
--cluster-replicas 1

I have been stuck in
waiting for the cluster to join since I replaced 127.0.0.1 in the command with the real IP of the linux host.

clipboard.png

IP127.0.0.1

clipboard.png
Linuxredis:

clipboard.png
for answers!


on the redis official website, there are the following instructions

Note that for a Redis Cluster to work properly you need, for each node:

The normal client communication port (usually 6379) used to communicate with clients to be open to all the clients that need to reach the cluster, plus all the other cluster nodes (that use the client port for keys migrations).
The cluster bus port (the client port + 10000) must be reachable from all the other cluster nodes.
If you don't open both TCP ports, your cluster will not work as expected.

The cluster bus uses a different, binary protocol, for node to node data exchange, which is more suited to exchange information between nodes using little bandwidth and processing time.

that is to say, in addition to opening port 7001, I also need to open port 17001 in the CVM console before I can set up a cluster.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b34d72-40f88.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b34d72-40f88.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?