ubuntu redis 本机可以登录但是局域网的电脑无法登陆

1、在redis的redis.conf文件中,由于设置绑定了bind 127.0.0.1所以其他的地址无法访问。

在redis.conf文件中注释掉 该行即可,重启redis服务。

2、如果redis.conf中设置了protected mode yes ,没有设置密码的时候也是无法登陆的,

所以需要将protected mode no 设置。

猜你喜欢

转载自blog.csdn.net/m0_37335176/article/details/86664416
今日推荐