redis客户端jedis调用redis报错:Could not get a resource from the pool的解决方法

1. 找到redis在linux系统上的配置文件redis.config

2.修改配置文件信息,将69行bind后面的ip地址改成虚拟机的ip地址,将88行protected-mode 改成no

3. 重启redis服务

猜你喜欢

转载自blog.csdn.net/plxddyxnmd/article/details/81542389