看了下报错信息,主要原因是没有获取到配置里面的eureka服务eureka.service-url,而是走了eureka默认的服务地址http://localhost:8761/eureka/,然后默认的的确没有这个服务,就导致报错 2021-09-2915:55:15.705INFO12672--- [ main] c.n.d.s.t.d.RedirectingEurekaHttpClient : Request execution error. endpoint=De...
EUREKA_INSTANCE_PREFER_IP_ADDRESS: "true" EUREKA_CLIENT_SERVICEURL_DEFAULTZONE: "http://eureka:8761/eureka/" TheEUREKA_CLIENT_SERVICEURL_DEFAULTZONEenvironment variable is not picked up. Others, like the mongo host work ok. Moving the setting inside the test-client application.properties works:eu...
exception=I/O error on GET request for "http://localhost:8761/eureka/apps/": Connect to localhost:8761 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused:
在配置eureka客户端的时候,设定好eureka客户端的简单配置,配置如下: 代码语言:javascript 复制 server: port: 8081 error: path: ./logs/error eureka: client: service-url: default-zone: http://eureka.joshua317.com/eureka/ 结果运行后,报了以下错误: 代码语言:javascript 复制 . ___ _ __ _ _ /\\...