jedis连接不上Linux上的redis服务 1 出现的问题 2 出现问题的原因 是因为防火墙没关导致jedis连接不上redis 3 解决问题: 使用命令 service iptables stop 把防火墙关了