在我的 Spring boot 应用程序中,我依赖于 WebFlux 作为 spring-boot-starter-webflux,并且在服务器启动时,它表示应用程序已准备好使用 Netty。
NettyWebServer:Netty 在端口上启动:8080
此外,我有 Spring Boot Actuator 依赖项,并在端口 9443 上公开指标端点 spring-boot-starter-actuator
但是当我启动应用程序时,我可以通过 mertics 端口访问我的其余端点,我认为这是一个错误:
http://localhost:9443/api/
谁能帮我解决这个问题吗?
最佳答案
这是 Spring Boot + Spring Framework 中的一个已知问题。目前没有已知的解决方法。 You can follow the dedicated issue on GitHub .
关于java - 可以通过指标 :9443 port 访问 8080 端口中的 Spring WebFlux 端点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58658039/