从笔记本电脑上运行的发现客户端应用程序连接到远程Eureka Server时,我遇到问题。配置是
Stacktrace:
2018-07-02 11:27:19,945 [nfoReplicator-0] ERROR c.n.d.s.t.d.RedirectingEurekaHttpClient.execute(ln:83) - Request execution error
com.sun.jersey.api.client.ClientHandlerException: org.apache.http.conn.ConnectTimeoutException: Connect to xxx.xxx.xxx.xx:8080 timed out
at com.sun.jersey.client.apache4.ApacheHttpClient4Handler.handle(ApacheHttpClient4Handler.java:187) ~[jersey-apache-client4-1.19.1.jar!/:1.19.1]
at com.sun.jersey.api.client.filter.GZIPContentEncodingFilter.handle(GZIPContentEncodingFilter.java:123) ~[jersey-client-1.19.1.jar!/:1.19.1]
at com.netflix.discovery.EurekaIdentityHeaderFilter.handle(EurekaIdentityHeaderFilter.java:27) ~[eureka-client-1.7.2.jar!/:1.7.2]
at com.sun.jersey.api.client.Client.handle(Client.java:652) ~[jersey-client-1.19.1.jar!/:1.19.1]
at com.sun.jersey.api.client.WebResource.handle(WebResource.java:682) ~[jersey-client-1.19.1.jar!/:1.19.1]
at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) ~[jersey-client-1.19.1.jar!/:1.19.1]
at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:570) ~[jersey-client-1.19.1.jar!/:1.19.1]
at com.netflix.discovery.shared.transport.jersey.AbstractJerseyEurekaHttpClient.register(AbstractJerseyEurekaHttpClient.java:56) ~[eureka-client-1.7.2.jar!/:1.7.2]
有人可以指导我进行哪些检查/更改,以尝试解决此问题吗?如果要运行任何检查,我确实可以完全控制远程VM。
EDIT-1
资讯主页URL:http://xxx.xxx.xxx.xx:8080/abcd/services/discovery-server/
发现客户端中的服务URL: eureka.client.service-url.defaultZone = http://xxx.xxx.xxx.xx:8080/abcd/services/discovery-server/eureka