(base) wdh@wdh:~$ redis-cli -c -h 172.17.0.1 -p 6391
172.17.0.1:6391> get name
-> Redirected to slot [5798] located at 172.100.0.1:6392
(nil)
172.100.0.1:6392>set name 1
OK
172.100.0.1:6392> get name
"1"
172.100.0.1:6392>
參考文章:
標題:redis集羣報錯:(error) MOVED 解決方法
地址:https://segmentfault.com/a/1190000020980650?utm_source=tag-newest