解决redis desktop manager 链接redis服务器链接不上问题
来源:互联网 发布:中国核潜艇096知乎 编辑:程序博客网 时间:2024/05/21 05:55
使用redis desktop manager 链接redis服务器出现以下问题:
-DENIED Redis is running in protected mode because protected mode is enabled, no
bind address was specified, no authentication password is requested to clients.
In this mode connections are only accepted from the loopback interface. If you
want to connect from external computers to Redis you may adopt one of the follow
ing solutions: 1) Just disable protected mode sending the command 'CONFIG SET pr
otected-mode no' from the loopback interface by connecting to Redis from the sam
e host the server is running, however MAKE SURE Redis is not publicly accessible
from internet if you do so. Use CONFIG REWRITE to make this change permanent. 2
) Alternatively you can just disable the protected mode by editing the Redis con
figuration file, and setting the protected mode option to 'no', and then restart
ing the server. 3) If you started the server manually just for testing, restart
it with the '--protected-mode no' option. 4) Setup a bind address or an authenti
cation password. NOTE: You only need to do one of the above things in order for
the server to start accepting connections from the outside.
--说明:这是redis服务器启动了保护模式,因此需要先关闭保护模式,
- 修改redis服务器的配置文件
- vi redis.conf
- 注释以下绑定的主机地址
- # bind 127.0.0.1
- 2、修改redis服务器的参数配置
- 修改redis的保护模式为no,不启用
- 127.0.0.1:6379> config set protected-mode "no"
- OK
若是还连接不上,就先关闭防火墙:service iptables stop ,再重新链接。
- 解决redis desktop manager 链接redis服务器链接不上问题
- 解决redis desktop manager连接不上linux(centos7)上的redis服务
- java 客户端链接不上redis解决方案
- java 客户端链接不上redis解决方案
- java 客户端链接不上redis解决方案
- java 客户端链接不上redis解决方案
- java 客户端链接不上redis解决方案
- Redis Desktop Manager连接Redis(以及解决遇到的问题)
- Redis Desktop Manager
- redis desktop manager 连不上
- Redis Desktop Manager
- 解决Redis Desktop Manager无法连接到redis
- Redis & Redis 桌面管理工具Redis Desktop Manager
- 解决MySQL链接不上问题
- redis 跨机房 连接失败导致一致链接不上
- java 客户端链接不上redis解决方案 (jedis)
- 关于java 客户端链接不上redis的解决方案
- centos7下redis莫名的链接不上
- SVG基础五:圆形
- 微信小程序SEO优化
- pdf.js使用教程(支持IE9以上)
- Java集合框架3(泛型集合)
- 关于模型视图矩阵的相机
- 解决redis desktop manager 链接redis服务器链接不上问题
- js基础知识总结
- 在windows创建第一个Flask框架的Python Web
- 迅搜在CentOS7上的安装(yum源)
- Static IP address in linux
- idea关于找不到包的问题,比如:Java:程序包org.springframework.beans.factory.annotation不存在
- 【问题记录】How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
- 深入理解Java中的String
- (一)计算机相关概述