diff --git a/redisson/src/main/java/org/redisson/connection/SentinelConnectionManager.java b/redisson/src/main/java/org/redisson/connection/SentinelConnectionManager.java index 20ccefc68..aeb0c7b8b 100755 --- a/redisson/src/main/java/org/redisson/connection/SentinelConnectionManager.java +++ b/redisson/src/main/java/org/redisson/connection/SentinelConnectionManager.java @@ -159,8 +159,7 @@ public class SentinelConnectionManager extends MasterSlaveConnectionManager { connectionFutures.add(future); } - RedisURI currentAddr = toURI(client.getAddr().getAddress().getHostAddress(), "" + client.getAddr().getPort()); - RFuture f = registerSentinel(currentAddr, this.config, null); + RFuture f = registerSentinel(addr, this.config, null); connectionFutures.add(f); for (RFuture future : connectionFutures) {