redis小问题

刚刚使用redis遇到两小问题

1、连接不了服务器

解决:

去掉redis.conf配置文件中的 bind 127.0.0.1,这个bind的意思是限制连接的IP地址。

2、连接上后报错 ENIED Redis is running in protected mode because protected mode is enabled...

解决:这个我也没太查只是在redis.con配置中使用了以下配置 protected-mode no 就可以了  

posted @ 2016-11-10 16:37  sanzang  阅读(134)  评论(0)    收藏  举报