[
https://issues.apache.org/jira/browse/FLINK-8289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16325918#comment-16325918
]
ASF GitHub Bot commented on FLINK-8289:
---------------------------------------
Github user shuai-xu commented on the issue:
https://github.com/apache/flink/pull/5190
@tillrohrmann @EronWright , this make it more clear, but seems not solve
the problem completely. Since we need to set RestOptions#ADDRESS to the address
of a rest server so the client can access the rest server. But we get 0.0.0.0
from getRestAddress of the rest server if let the rest server bind to
RestOptions#BIND_ADDRESS with 0.0.0.0 unless we add another method to the rest
server which can get the advertised address.
> The RestServerEndpoint should return the address with real ip when
> getRestAdddress
> ----------------------------------------------------------------------------------
>
> Key: FLINK-8289
> URL: https://issues.apache.org/jira/browse/FLINK-8289
> Project: Flink
> Issue Type: Bug
> Affects Versions: 1.5.0
> Reporter: shuai.xu
> Assignee: shuai.xu
> Priority: Major
> Labels: flip-6
>
> Now when RestServerEndpoint.getRestAddress, it will return an address same
> with the value of config rest.address, the default it 127.0.0.1:9067, but
> this address can not be accessed from another machine. And the ip for
> Dispatcher and JobMaster are usually dynamically, so user will configure it
> to 0.0.0.0, and the getRestAddress will return 0.0.0.0:9067, this address
> will be registered to YARN or Mesos, but this address can not be accessed
> from another machine also. So it need to return the real ip:port for user to
> access the web monitor anywhere.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)