当前位置:   article > 正文

(SpringCloud F版本eureka 客户端)成功解决 java.net.ConnectException: Connection refused: connect_springcloud connectexception

springcloud connectexception

版权声明:本文为博主原创文章,未经博主允许欢迎转载,但请注明出处。 https://blog.csdn.net/link_admin/article/details/89471226

在搭建springCloud config中,遇到的eureka客户端注册不成功的问题,通过google,百度试了很多方式,比如:

参考一链接

参考二链接

参考三链接

等等博客资料,始终没有解决问题,下面,对此问题,我解决的步骤

  1. com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect
  2. at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)
  3. at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)
  4. at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)
  5. at com.sun.jersey.api.client.Client.handle(Client.java:652)
  6. at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
  7. at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
  8. at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509)
  9. at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.getApplicationsInternal(AbstractJerseyEurekaHttpClient.java:194)
  10. at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.getApplications(AbstractJerseyEurekaHttpClient.java:165)
  11. at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$6.execute(EurekaHttpClientDecorator.java:137)
  12. at com.netflix.discovery.shared.transport.decorator.MetricsCollectingEurekaHttpClient.execute(MetricsCollectingEurekaHttpClient.java:73)
  13. at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.getApplications(EurekaHttpClientDecorator.java:134)
  14. at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$6.execute(EurekaHttpClientDecorator.java:137)
  15. at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.executeOnNewServer(RedirectingEurekaHttpClient.java:118)
  16. at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpC
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家自动化/article/detail/975167
推荐阅读
相关标签
  

闽ICP备14008679号