redis远程连接报错:
ceptions.JedisConnectionException: Could not get a resource from the pool
解决:
1.首先看防火墙是否打开,或者端口是否开放
2.注释掉redis.conf中bing 127.0.0.1
3.protected-mode yes 改为 protected-mode no
4.daemonize no改为daemonize yes 可在后台运行进程
5.重启redis服务即可
redis远程连接报错:
ceptions.JedisConnectionException: Could not get a resource from the pool
解决:
1.首先看防火墙是否打开,或者端口是否开放
2.注释掉redis.conf中bing 127.0.0.1
3.protected-mode yes 改为 protected-mode no
4.daemonize no改为daemonize yes 可在后台运行进程
5.重启redis服务即可