前往小程序,Get更优阅读体验!
立即前往
发布
社区首页 >专栏 >redis desktop manager 连接不上虚拟机的redis

redis desktop manager 连接不上虚拟机的redis

作者头像
周杰伦本人
发布2023-10-12 14:34:30
发布2023-10-12 14:34:30
37300
代码可运行
举报
文章被收录于专栏:同步文章同步文章
运行总次数:0
代码可运行

redis desktop manager 连接不上虚拟机的redis 原因:防火墙没关 解决方案: service iptables stop 查看状态: service iptables status

代码语言:javascript
代码运行次数:0
复制
[root@bogon bin]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num  target     prot opt source               destination         
1    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           state RELATED,ESTABLISHED 
2    ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0           
3    ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0           
4    ACCEPT     tcp  --  0.0.0.0/0            0.0.0.0/0           state NEW tcp dpt:22 
5    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain FORWARD (policy ACCEPT)
num  target     prot opt source               destination         
1    REJECT     all  --  0.0.0.0/0            0.0.0.0/0           reject-with icmp-host-prohibited 

Chain OUTPUT (policy ACCEPT)
num  target     prot opt source               destination         

You have new mail in /var/spool/mail/root
[root@bogon bin]# service iptables stop
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]
[root@bogon bin]# service iptables status
iptables: Firewall is not running.
[root@bogon bin]# 

参考博客: https://www.cnblogs.com/skyessay/p/6437318.html

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
原始发表:2023-10-11,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档