java - spring cloud eureka,ribbon restTemplate 访问问题
黄舟2017-04-18 10:33:22
0
4
658
入图,在eureka中心已经有了这个服务者,服务者的配置信息如下
但是通过以下代码:
访问时一直提示: I/O error on GET request for "http://client": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
官方文档是这么写
访问方式不一样啊
参考http://cloud.spring.io/spring...
help me ....各位大大
配置过这个
@EnableDiscoveryClient
注解了吗?