我正在使用带有 Actuator 的 Spring boot/cloud,并使用 @EnableEurekaClient 注释 Application 类,应用程序出现并正确注册到 Eureka 服务器。
但是,因为我将我的应用程序配置为在 https 和端口 8444 上运行,所以 Eureka 实例没有使用正确的协议注册,而是使用 http。
来自http://localhost:8761/eureka/apps/的示例给了我
<homePageUrl>http://localhost:8444/</homePageUrl>
<statusPageUrl>http://localhost:8444/info</statusPageUrl>
<healthCheckUrl>http://localhost:8444/health</healthCheckUrl>