diff --git a/redis/redis-meta/src/main/java/com/ctrip/xpipe/redis/meta/server/keeper/container/DefaultKeeperContainerService.java b/redis/redis-meta/src/main/java/com/ctrip/xpipe/redis/meta/server/keeper/container/DefaultKeeperContainerService.java index fc191a5d9..506480e45 100644 --- a/redis/redis-meta/src/main/java/com/ctrip/xpipe/redis/meta/server/keeper/container/DefaultKeeperContainerService.java +++ b/redis/redis-meta/src/main/java/com/ctrip/xpipe/redis/meta/server/keeper/container/DefaultKeeperContainerService.java @@ -32,7 +32,7 @@ public DefaultKeeperContainerService(KeeperContainerMeta keeperContainerMeta, Re @Override public KeeperInstanceMeta infoPort(int queryPort) { try { - return restTemplate.getForObject("http://{ip}:{port}/keepers/port/{queryPort}}", KeeperInstanceMeta.class, + return restTemplate.getForObject("http://{ip}:{port}/keepers/port/{queryPort}", KeeperInstanceMeta.class, keeperContainerMeta.getIp(), keeperContainerMeta.getPort(), queryPort); } catch (HttpStatusCodeException ex) { throw KeeperContainerErrorParser.parseErrorFromHttpException(ex);