Redis连接异常

1、

以指定配置文件启动Redis,否则配置的东西不生效

 redis-cli shutdown 关闭

$ redis-server /etc/redis/6379.conf

 2、连接异常

redis.conf 配置文件Bind 127.0.0.1 改成0.0.0.0

posted @ 2017-02-27 15:20  littlewrong  阅读(284)  评论(0)    收藏  举报