修改redis服务器的配置文件 vi redis.conf
注释以下绑定的主机地址
# bind 127.0.0.1
或 vim redis.conf
bind 0.0.0.0 省略…… protected-mode no
本文标题:Redis 远程连接方法
本文链接:https://www.haomeiwen.com/subject/cklrcctx.html
网友评论