连接不到redis Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.43.52:6379
redis装在linux虚拟机上,在xshell上可以成功访问redis,配了密码
拿了老师完整的代码作测试,就是访问失败,不知道哪里出了问题
地址端口密码都没错的,求解
org.springframework.data.redis.RedisConnectionFailureException: Unable to connect to Redis; nested exception is io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.43.52:6379
Caused by: io.lettuce.core.RedisConnectionException: Unable to connect to 192.168.43.52:6379
Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /192.168.43.52:6379
Caused by: java.net.ConnectException: Connection refused: no further information