【发布时间】:2021-02-10 16:58:36
【问题描述】:
从 Spring Boot 2.0.4 迁移到 Spring Boot 2.2.13 后,管理端口与服务器端口不同,管理端点停止工作。看起来不同的管理端口本身没有打开监听。
虽然它在作为战争部署到外部码头时不起作用,但在作为嵌入式码头运行时却运行良好。
下面是相关的yml部分:
management:
endpoint:
health:
show-details: "ALWAYS"
endpoints:
web:
exposure:
include: health
base-path: /manage
enabled-by-default: true
server:
port: 7080
【问题讨论】:
标签: java spring spring-boot jetty spring-actuator