一、前言
在使用RedisDesktopManager连接redis服务的时候出现了错误,下面记录下解决方法。
二、解决方法
1、修改地址绑定信息:
将redis.conf文件中绑定信息注释掉,并将protected-mode改为no
# bind 127.0.0.1
protected-mode no
2、 关闭防火墙:
centOS7防火墙操作:
启动: systemctl start firewalld
关闭: systemctl stop firewalld
查看状态: systemctl status firewalld
开机禁用 : systemctl disable firewalld
开机启用 : systemctl enable firewalld
修改过后杀掉进程,重启服务即可。