我已经在eureka server端设置如下:
eureka:
client:
service-url:
defalultZone: http://localhost:8085/eureka/
register-with-eureka: false # 不允许注册服务到注册中心
fetch-registry: false # 不允许请求被注册的服务
但是当client注册时,server端出现如下错误:
Network level connection to peer localhost; retrying after delay
com.sun.jersey.api.client.ClientHandlerException: org.apache.http.conn.ConnectTimeoutException: Connect to localhost:8761 timed out
在网上没有找到方法,请问大家有碰到过吗?