1.安装redis
2.开启端口6379
3.修改配置文件redis.conf
(1)注释掉bind 127.0.0.1这一行,不热远程无法访问
#bind 127.0.0.1
(2)修改 protected-mode yes 改为:protected-mode no
(3)修改密码
requirepass xxxx
1.安装redis
2.开启端口6379
3.修改配置文件redis.conf
(1)注释掉bind 127.0.0.1这一行,不热远程无法访问
#bind 127.0.0.1
(2)修改 protected-mode yes 改为:protected-mode no
(3)修改密码
requirepass xxxx