问题(redis.connection.PoolException: Could not get a resource from the pool; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 4.190..:6379] with root cause)
解决
编辑redis.conf
vim /etc/redis.conf
-
bind 127.0.0.1 注释掉
-
设置 daemonize 改为no
-
设置protected-mode 改为no
4. 重启redis
systemctl restart redis