spring - 如何更改端口 hawtio,我运行一个带有弹簧骆驼休息和其他的 megazord
问题描述
标题是自动解释的。基本上我有一个项目有很多技术,需要骆驼到 EIP。我需要在另一个端口运行 hawtio。
我的 pom.xml https://gist.github.com/andrealcantara/4a9d0a736f5c67ff0a6abc6d11e6febd
和我的 application.properties https://gist.github.com/andrealcantara/9edbf756d165790a5dc7ad4e1b48fa2f
解决方案
对于 Spring Boot 上的 Hawtio,它作为管理端点开放,因此此应用程序属性可以控制端口号。
management.server.port=10001
有关更多信息,请参阅此示例:https ://github.com/hawtio/hawtio/blob/master/examples/springboot/src/main/resources/application.properties#L2
推荐阅读
- rust - Convert Option<&&[T]> to Option<&[T]>
- php - 在同一 VPS 上 Docker 同一 docker-compose 应用程序的多个独立版本
- vb.net - VBNET如何将多个选中的复选框插入sql数据库
- java - 在执行 Hibernate 查询时,如何找到哪个 Join 占用了大部分时间?
- javascript - 客户端数据未到达服务器端...也许
- twilio - 使用 Runtime 的 Twilio Video 新环境,service-sid 是什么?
- json - 将 Bytestring 转换为“普通”字符串 Python
- python - 查找独特的单词及其计数
- javascript - javascript canvas drawimage 是否适用于 iPhone?
- javascript -
JS/CSS 文本翻转器中的间距问题