redis 使用redis Desktop manger进行远程进行链接

1.修改redis.conf文件:

a.去掉bind:127.0.0.0

b.protected mode 模式改成 no

2.重启redis

 /etc/init.d/redis restart

3. 如果还连不上,很有可能是端口没有开启,去服务器开启6379端口,然后重启一下服务器KO了

 

 

posted @ 2019-06-17 17:46  天道酬勤,坚持!  阅读(509)  评论(0编辑  收藏  举报