赞
踩
版权声明:本文为博主原创文章,未经博主允许欢迎转载,但请注明出处。 https://blog.csdn.net/link_admin/article/details/89471226
在搭建springCloud config中,遇到的eureka客户端注册不成功的问题,通过google,百度试了很多方式,比如:
等等博客资料,始终没有解决问题,下面,对此问题,我解决的步骤
-
- com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Connection refused: connect
- at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187)
- at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123)
- at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27)
- at com.sun.jersey.api.client.Client.handle(Client.java:652)
- at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682)
- at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
- at com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509)
- at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.getApplicationsInternal(AbstractJerseyEurekaHttpClient.java:194)
- at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.getApplications(AbstractJerseyEurekaHttpClient.java:165)
- at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$6.execute(EurekaHttpClientDecorator.java:137)
- at com.netflix.discovery.shared.transport.decorator.MetricsCollectingEurekaHttpClient.execute(MetricsCollectingEurekaHttpClient.java:73)
- at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.getApplications(EurekaHttpClientDecorator.java:134)
- at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$6.execute(EurekaHttpClientDecorator.java:137)
- at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpClient.executeOnNewServer(RedirectingEurekaHttpClient.java:118)
- at com.netflix.discovery.shared.transport.decorator.RedirectingEurekaHttpC
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。