请教一个Consul的问题,代码见图,服务注册是可以成功的,不知道为什么解除注册报了连接错误
ConsulClient consulClient = new ConsulClient(nodeHostAdress);
Iterator> it_service =
consulClient.getAgentServices().getValue().entrySet().iterator();
java.net.ConnectException: Connection refused (Connection refused)
