微信扫一扫
修改配置文件
bind 127.0.0.1 将这行用"#"注释掉
protected-mode yes yes改成no
然后重启redis服务 systemctl restart redis