0
我想出來的尤里卡雲註冊表首次和尋找你在它的幫助春季啓動/春雲 - 尤里卡服務器
要註冊樣品尤里卡客戶尤里卡服務器 尤里卡服務器的代碼在以下位置 https://github.com/vijayakumar-psg587/EurekaServer.git
這是我嘗試註冊 https://github.com/vijayakumar-psg587/EurekaClient1.git
的客戶端,但客戶端是沒有得到註冊
Request execution failure with status code 404; retrying on another server if available
2017-09-17 00:11:04.433 ERROR 17432 --- [ main] com.netflix.discovery.DiscoveryClient : DiscoveryClient_EUREKACLIENT1/EurekaClient1 - was unable to refresh its cache! status = Cannot execute request on any known server
com.netflix.discovery.shared.transport.TransportException: Cannot execute request on any known server
at com.netflix.discovery.shared.transport.decorator.RetryableEurekaHttpClient.execute(RetryableEurekaHttpClient.java:111) ~[eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.getApplications(EurekaHttpClientDecorator.java:134) ~[eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator$6.execute(EurekaHttpClientDecorator.java:137) ~[eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.shared.transport.decorator.SessionedEurekaHttpClient.execute(SessionedEurekaHttpClient.java:77) ~[eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.shared.transport.decorator.EurekaHttpClientDecorator.getApplications(EurekaHttpClientDecorator.java:134) ~[eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.DiscoveryClient.getAndStoreFullRegistry(DiscoveryClient.java:1030) [eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.DiscoveryClient.fetchRegistry(DiscoveryClient.java:944) [eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.DiscoveryClient.<init>(DiscoveryClient.java:444) [eureka-client-1.4.12.jar:1.4.12]
at com.netflix.discovery.DiscoveryClient.<init>(DiscoveryClient.java:304) [eureka-client-1.4.12.jar:1.4.12]
at org.springframework.cloud.netflix.eureka.CloudEurekaClient.<init>(CloudEurekaClient.java:51) [spring-cloud-netflix-eureka-client-1.2.7.RELEASE.jar:1.2.7.RELEASE]
at org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration.eurekaClient(EurekaClientAutoConfiguration.java:192) [spring-cloud-netflix-eureka-client-1.2.7.RELEASE.jar:1.2.7.RELEASE]
at org.springframework.cloud.netflix.eureka.EurekaClientAutoConfiguration$RefreshableEurekaClientConfiguration$$EnhancerBySpringCGLIB$$ed07235b.CGLIB$eurekaClient$1(<generated>) [spring-cloud-netflix-eureka-client-1.2.7.RELEASE.jar:1.2.7.RELEASE]
我使用Spring Boot - 1.4.6版本。
我有一個類似的在端口8880上運行的尤里卡服務器,如果我嘗試在我的客戶端註冊,它可以很好地工作。不知道我在我寫的新服務器中缺少的是什麼
與服務器端口系列有關嗎?工作人員將端口配置爲8880,而我遇到問題的端口配置爲9000。請讓我知道你的想法
工作EurekaServer- https://github.com/vijayakumar-psg587/CloudConfigEurekaServer.git
我的壞。我沒有注意到它。謝謝 – Joey587