[ 
https://issues.apache.org/jira/browse/FLINK-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15636570#comment-15636570
 ] 

ASF GitHub Bot commented on FLINK-4876:
---------------------------------------

Github user attachmentgenie commented on the issue:

    https://github.com/apache/flink/pull/2680
  
    @uce i made the changes are requested. With a few slight modifications 
however.
    
    1. 
    `.defaultValue(null);` throws an error so i opted to use 
`.noDefaultValue();` which behaves the same.
    
    2. 
    You can not pass `null` as the first argument of 
io.netty.bootstrap.ServerBootstra.bind() as it wants you to be explicit about 
the address ( it will also validate it as a valid local address). So i added a 
`if (configuredAddress == null) {` switch.
    



> Allow web interface to be bound to a specific ip/interface/inetHost
> -------------------------------------------------------------------
>
>                 Key: FLINK-4876
>                 URL: https://issues.apache.org/jira/browse/FLINK-4876
>             Project: Flink
>          Issue Type: Improvement
>          Components: Webfrontend
>    Affects Versions: 1.2.0, 1.1.2, 1.1.3
>            Reporter: Bram Vogelaar
>            Assignee: Bram Vogelaar
>            Priority: Minor
>
> Currently the web interface automatically binds to all interfaces on 0.0.0.0. 
> IMHO there are some use cases to only bind to a specific ipadress, (e.g. 
> access through an authenticated proxy, not binding on the management or 
> backup interface)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to