DENIED Redis is running in protected mode because protected mode is enabled
生活随笔
收集整理的這篇文章主要介紹了
DENIED Redis is running in protected mode because protected mode is enabled
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
如下所示,程序連接redis報錯,根據(jù)錯誤信息,redis運(yùn)行在受保護(hù)模式,需要redis命令行下作設(shè)置:config set protected-mode no。
設(shè)置protected-mode no
再次通過telnet命令檢測redis端口6379,沒有出現(xiàn)訪問異常。
redis.conf中也可同樣方法修改
總結(jié)
以上是生活随笔為你收集整理的DENIED Redis is running in protected mode because protected mode is enabled的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Python - 按天算年龄
- 下一篇: ELK日志平台一 ElasticSear