远程访问redis报错:
org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 10.134.253.30:6379
解决:
vi redis.conf
1、注释掉 bind 127.0.0.1,即可让所有ip访问 2、protected-mode no