linux - Cannot create redis cluster (Sorry, can't connect to node) -


i'm trying follow redis cluster tutorial whenever try run:

./redis-trib.rb create --replicas 1 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`  

i error:

[err] sorry, can't connect node 127.0.0.1:7000

the server running , can connect port 7000 using

redis-cli -p 7000 

what missing?

turns out had redis_url set in .bashrc previous project. apparently redis gem setting password url redis connections (even though not using url cluster).

thanks soveran pointing out posibility in this question


Comments