連接Redis服務出現DENIED Redis is running in protected mode because protected mode is enabled。。。

Redis服務處於保護模式,我們需要修改配置文件redis.conf。將NETWORK下的protected-mode yes修改

爲protected-mode no

vi /etc/redis.conf

修改後重啓redis

redis-server /etc/redis.conf
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章