
入图,在eureka中心已经有了这个服务者,服务者的配置信息如下

但是通过以下代码:

访问时一直提示:
I/O error on GET request for "http://client": Connection refused: connect; nested exception is java.net.ConnectException: Connection refused: connect
请问该怎么把,就是好像没办法用实例名访问?
谢谢各位的回答,已经解决了!是我自己的问题。。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
官方文档是这么写
访问方式不一样啊
参考http://cloud.spring.io/spring...
help me ....各位大大
配置过这个
@EnableDiscoveryClient注解了吗?