确保以下两项配置
1.bind 127.0.0.1改为 #bind 127.0.0.1
2.protected-mode yes 改为 protected-mode no
ps: protected-mode 是3.2 之后加入的新特性,是为了禁止公网访问redis cache,加强redis安全的。
它启用的条件,有两个:
1) 没有bind ip
2) 没有设置访问密码
如对本文有疑问, 点击进行留言回复!!
[杭电多校2020]第一场 1004 Distinct Sub-palindromes
Swift -- 将本地生成的UIImage进行持久化保存(存到文件中fileManager.createFile)
网友评论