赞
踩
Eureka Server正常启动后关闭服务,配置client,然后启动client的xxxApplication,出现报错:
INFO 44568 --- [ restartedMain]
c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=
DefaultEndpoint{ serviceUrl='http://localhost:8761/eureka/}, exception=I/O error on GET request for "http://localhost:8761/eureka/apps/":
Connect to http://localhost:8761 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused stacktrace=org.springframework.web.client.ResourceAccessException:
I/O error on GET request for "http://localhost:8761/eureka/apps/":
Connect to http://localhost:8761 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed:
Connection refused
试了网上很多办法,没有用处
最后走投无路启动了server,突然发现server在控制台说有一个很久之前的请求,发现原来要启动client,必须在server正在启动的状态下再启动。。。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。