执行器手动设置IP时取消绑定Host的操作,该IP仅供执行器注册使用;修复指定外网IP时无法绑定执行器Host的问题
This commit is contained in:
parent
3957ef2ff7
commit
881d65642b
|
@ -1240,7 +1240,8 @@ Tips: 历史版本(V1.3.x)目前已经Release至稳定版本, 进入维护阶段
|
|||
- 21、新增左侧菜单"运行报表";
|
||||
- 22、告警邮件固定使用 UTF-8 编码格式,修复由机器编码导致的邮件乱码问题;
|
||||
- 23、新增任务运行模式 "GLUE模式(PHP) ",支持php脚本任务;
|
||||
- 24、[迭代中]任务失败重试优化:收敛并废弃现有失败重试策略,新增任务属性 "失败重试次数",支持自定义失败重试次数,任务失败时将会根据该值进行失败重试;
|
||||
- 24、执行器手动设置IP时取消绑定Host的操作,该IP仅供执行器注册使用;修复指定外网IP时无法绑定执行器Host的问题;
|
||||
- 25、[迭代中]任务失败重试优化:收敛并废弃现有失败重试策略,新增任务属性 "失败重试次数",支持自定义失败重试次数,任务失败时将会根据该值进行失败重试;
|
||||
|
||||
|
||||
### TODO LIST
|
||||
|
|
|
@ -31,7 +31,7 @@ public class JettyServer {
|
|||
// HTTP connector
|
||||
ServerConnector connector = new ServerConnector(server);
|
||||
if (ip!=null && ip.trim().length()>0) {
|
||||
connector.setHost(ip); // The network interface this connector binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.
|
||||
//connector.setHost(ip); // The network interface this connector binds to as an IP address or a hostname. If null or 0.0.0.0, then bind to all interfaces.
|
||||
}
|
||||
connector.setPort(port);
|
||||
server.setConnectors(new Connector[]{connector});
|
||||
|
|
Loading…
Reference in New Issue