thorntail - 如何使用 project-default.yml 配置 Thorntail http 端口?
问题描述
我正在使用 Thorntail 2.3.0.Final,在文档“5.4.2. Sockets”中有一个配置某种东西的例子:
thorntail:
network:
socket-binding-groups:
standard-sockets:
http:
port: 8081
我以为它开始侦听端口 8081,但它一直继续开始侦听端口 8080
那么如何正确配置端口绑定呢?
解决方案
快捷方式是使用:
thorntail:
http:
port: 8081
推荐阅读
- r - TimeSplitter:评估错误(替代(退出)、数据、父框架()):找不到对象“年龄”
- php - 为什么我不能从 jquery 向 laravel 路由发出请求?
- java - 从 spring mvc 的下拉列表中接收到 Id 而不是枚举文本值
- linux - anaconda env 的 TensorFlow 问题
- javascript - 从 JSON 文件中提取数据
- android - ExoPlayer 在播放 .wav 文件时寻求问题
- asp.net-core - JWT 令牌身份验证失败并显示消息“PII 已隐藏”
- c - C 编程 - 2U 和 1024U 的大小
- python-3.x - 由于某种原因,Python 模数结果不正确?
- ios - 闹钟锁屏通知