连接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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章