更改redis.conf 文件
修改之前
bind 127.0.0.1 protected-mode yes
bind 127.0.0.1
protected-mode yes
修改之后
bind 127.0.0.1 protected-mode no
protected-mode no