(Connection.java:236) at org.springframework.data.redis.connection.jedis.JedisConnection(KeyBoundCursor.java:39)
at org.springframework.data.redis.core.ScanCursor.scan(Sc
(Protocol.java:161)at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340)
at redis.clients.jedis.Connection.getRawObjectMultiBulkReply(Connection.java</em
我正在尝试用下面的Java代码和Jedis库连接到Redis,但是连接失败了,有人能帮我吗?to host redis:6379 at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:100)
at redis.clients.jedi
: java.net.SocketTimeoutException: Read timed out at redis.clients.jedis.Protocol.read(Protocol.java:137)
at redis.clients.jedis.Connection.getIntegerReply(Connecti
(Connection.java:204) atredis.clients.jedis.Jedis.get(Jedis.java:89)redis.clients.jedis.exceptions.JedisDataException::113)
at redis.clients.jedis.Prot
at redis.clients.jedis.util.RedisInputStream.readByte(RedisInputStream.java:43) at redis.clients.jedis.Protocol.read(Protocol.java:220)
at redis.clients.jedis.Connect
获取异常java.net.ConnectException:当我试图连接到redis服务器时,连接被拒绝。: Connection refused at redis.clients.jedis.Connection.connect(Connection.java:207) [jedis-2.9.0.jar:] at redis.clients.jedis.BinaryClient.connect(BinaryClient.java:93) [jedis-2.9.0.jar:] at <e
at org.springframework.data.redis.connection.jedis.JedisConnection.streamCommands(JedisConnection.java(DefaultedRedisConnection.java:591) ~[spring-data-redis-2.3.9.RELEASE.jar:2.3.9.RELEASE]
at org.springframework.data.redis.core.DefaultStreamOperatio
我正在尝试使用java JedisCluster客户端连接到redis集群。
首先,我使用这个码头映像制作了Redis集群。:中的异常无法从redis.clients.util.Pool.getResource(Pool.java:53) at redis.clients.jedis.JedisPool.getResource(JedisPool.java:226) at redis.clients.jedis.JedisSlotBasedConnec