提问人:ReTriBleT 提问时间:9/6/2023 最后编辑:Elefant04ReTriBleT 更新时间:9/7/2023 访问量:43
Eureka 服务器不可用,版本为 3.1.4
The Eureka Server has become unavailable, version is 3.1.4
问:
我的是:application.yml
server:
port: 9700
spring:
application:
name: SERVER-ALPHA
eureka:
instance:
prefer-ip-address: false
hostname: SERVER-ALPHA
client:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://172.22.58.174:9800/eureka/
enabled: true
server:
enable-self-preservation: false
renewal-percent-threshold: 0.85
eviction-interval-timer-in-ms: 1000
use-read-only-response-cache: false
response-cache-update-interval-ms: 1000
anothor 是:
server:
port: 9800
spring:
application:
name: SERVER-BETA
eureka:
instance:
prefer-ip-address: false
hostname: SERVER-BETA
client:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://172.22.58.174:9700/eureka/
enabled: true
server:
enable-self-preservation: false
renewal-percent-threshold: 0.85
eviction-interval-timer-in-ms: 1000
use-read-only-response-cache: false
response-cache-update-interval-ms: 1000
尤里卡的页面是:
而且我不能使用服务器进行发现。
版本为:
如何解决这个问题?
感谢
首先,我尝试使用 is true,但我发现默认值为 true。
所以我试图找到答案,但我发现其中大多数 spring cloud 版本低于 2021,我使用的是 spring boot 2.6.7 或 2.6.13,所以我没有找到解决方法。eureka.client.enable
答: 暂无答案
评论