连接redis失败,关闭防火墙即可

  因为linux上有防火墙,我用redis desktop manager 测试所以始终连接不上,

   关闭防火墙:

systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动

然后就可以了。

原文地址:https://www.cnblogs.com/xiaohouzai/p/8948570.html