redis解决DENIED Redis is running in protected mode because protected mode is enabled
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了redis解决DENIED Redis is running in protected mode because protected mode is enabled相关的知识,希望对你有一定的参考价值。
参考技术A 使用java存储或获取的时候报错如下:很明显:DENIED Redis is running in protected mode because protected mode is enabled
是说处于保护模式,只能本地链接,我们需要修改配置文件../redis.conf ,解决方法如下:
打开redis下的redis.conf文件
没反应应该是你启动服务端的时候没有带上配置文件。
cd 到cd /usr/local/redis/src
如果redis-server已经启动过了,则需要关闭以前的服务,
以上是关于redis解决DENIED Redis is running in protected mode because protected mode is enabled的主要内容,如果未能解决你的问题,请参考以下文章
redis解决(DENIED Redis is running in protected mode because prote)
Redis报错:DENIED Redis is running in protected mode
DENIED Redis is running in protected mode
(error) DENIED Redis is running in protected mode because protected mode is enabled
redis “出现error) MISCONF Redis is configured to save RDB snapshots, but it is currently 解决办法”
解决redis连接错误:MISCONF Redis is configured to save RDB snapshots, but it is currently not able to...