[
https://issues.apache.org/jira/browse/FLINK-8843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401806#comment-16401806
]
ASF GitHub Bot commented on FLINK-8843:
---------------------------------------
Github user GJL commented on a diff in the pull request:
https://github.com/apache/flink/pull/5632#discussion_r175072436
--- Diff:
flink-core/src/main/java/org/apache/flink/configuration/RestOptions.java ---
@@ -33,7 +33,7 @@
*/
public static final ConfigOption<String> REST_ADDRESS =
key("rest.address")
- .defaultValue("localhost")
+ .defaultValue("0.0.0.0")
--- End diff --
It's not enough to set the default value to `0.0.0.0`. The rest client uses
the value under this config key to connect. I am taking over this ticket now.
#5707
> Decouple bind REST address from advertised address
> --------------------------------------------------
>
> Key: FLINK-8843
> URL: https://issues.apache.org/jira/browse/FLINK-8843
> Project: Flink
> Issue Type: Improvement
> Components: REST
> Affects Versions: 1.5.0, 1.6.0
> Reporter: Till Rohrmann
> Assignee: Gary Yao
> Priority: Critical
> Labels: flip-6
> Fix For: 1.5.0
>
>
> The {{RestServerEndpoint}} is currently bound to the same address which is
> also advertised to the client, namely {{RestOptions#REST_ADDRESS}}. It would
> be better to start the {{RestServerEndpoint}} listening on all address by
> binding to {{0.0.0.0}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)