一 需要两个jar包 1.Commons-pool2-2.4.2.jar 2.Jedis-2.8.1.jar 二 禁用Linux的防火墙 systemctl stop firewalld.service redis.conf配置文件中节点 :bind 127.0.0.1(61行) 注释掉,同时设置节点 protected-mode no(80行)