zxs117

RedisDesktopManager远程连接Linux系统的Redis服务

linux下安装redis :https://www.runoob.com/redis/redis-install.html

进入 src 运行redis   : ./redis-server

打开另外一个黑窗 : ./redis-cli

 

 

RedisDesktopManager中连接  connect to redis server 

会出现这个页面

 

ps -ef | grep redis  查看 是否是只允许本地连接  Redis默认只支持本地链接

路径退出一层  编辑 redis.conf    注释掉61行本地链接限制以及80行配置修改为no

 # bind 127.0.0.1 
protected-mode no

 

在进入  src中   ./redis-server ../redis.conf 

 可能用到的命令 
ps -ef | grep redis (查看redis进程) kill -s 9 xxx(进程数字)

 

如果还不行 查看防火墙是否关闭 

systemctl status firewalld  查看防火墙状态

systemctl stop firewalld  关闭防火墙

systemctl start firewalld 开启防火墙

systemctl disable firewalld 防火墙永久关闭

关闭之后再去 RedisDesktopManager尝试连接 

 

posted on 2019-07-07 17:14 我是年少的欢喜你 阅读(...) 评论(...) 编辑 收藏

相关文章:

  • 2021-10-24
  • 2021-12-14
  • 2021-10-22
  • 2021-10-22
  • 2021-12-14
  • 2021-11-14
  • 2021-12-22
猜你喜欢
  • 2021-05-08
  • 2021-05-07
  • 2021-12-15
  • 2021-11-05
  • 2021-08-24
  • 2022-01-11
  • 2020-06-22
相关资源
相似解决方案