Redis 远程连接方法
2019-06-27 本文已影响0人
amor_2018
修改redis服务器的配置文件
vi redis.conf
注释以下绑定的主机地址
# bind 127.0.0.1
或
vim redis.conf
bind 0.0.0.0
省略……
protected-mode no
修改redis服务器的配置文件
vi redis.conf
注释以下绑定的主机地址
# bind 127.0.0.1
或
vim redis.conf
bind 0.0.0.0
省略……
protected-mode no