From 881d65642b5cc1a22d78c646a3db6ba385814c75 Mon Sep 17 00:00:00 2001 From: xuxueli <931591021@qq.com> Date: Thu, 16 Aug 2018 22:13:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=A7=E8=A1=8C=E5=99=A8=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=AE=BE=E7=BD=AEIP=E6=97=B6=E5=8F=96=E6=B6=88=E7=BB=91?= =?UTF-8?q?=E5=AE=9AHost=E7=9A=84=E6=93=8D=E4=BD=9C=EF=BC=8C=E8=AF=A5IP?= =?UTF-8?q?=E4=BB=85=E4=BE=9B=E6=89=A7=E8=A1=8C=E5=99=A8=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=EF=BC=9B=E4=BF=AE=E5=A4=8D=E6=8C=87=E5=AE=9A?= =?UTF-8?q?=E5=A4=96=E7=BD=91IP=E6=97=B6=E6=97=A0=E6=B3=95=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E6=89=A7=E8=A1=8C=E5=99=A8Host=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/XXL-JOB官方文档.md | 3 ++- .../com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/XXL-JOB官方文档.md b/doc/XXL-JOB官方文档.md index 885cb812..a3dd8486 100644 --- a/doc/XXL-JOB官方文档.md +++ b/doc/XXL-JOB官方文档.md @@ -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 diff --git a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java index ae9dfec9..d7ed341d 100644 --- a/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java +++ b/xxl-job-core/src/main/java/com/xxl/job/core/rpc/netcom/jetty/server/JettyServer.java @@ -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});