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

Fabian Hueske commented on FLINK-12145:
---------------------------------------

Ah OK, that changes the picture of course.
I was unsure about the side effects of the change, but the [Jekyll 
docs|https://jekyllrb.com/docs/configuration/options/] indicate that the 
{{host}} variable is only used by the serve command.
So it should have not effect on the build process itself.

However, setting the {{host}} variable to {{localhost}} broke the Docker setup 
for me (see {{./docker/run.sh}}) for me. When calling {{./build -p}} in the 
Docker container, I could not access the website from my local browser anymore.

> Host config in flink-web is incorrect
> -------------------------------------
>
>                 Key: FLINK-12145
>                 URL: https://issues.apache.org/jira/browse/FLINK-12145
>             Project: Flink
>          Issue Type: Bug
>            Reporter: Ji Liu
>            Assignee: Ji Liu
>            Priority: Minor
>
> In [https://flink.apache.org/improve-website.html]
> its description is "Open your browser at 
> [http://localhost:4000|http://localhost:4000/] to view the website",
> but in flink-web project, the host config in _config.yml is 0.0.0.0. In this 
> case when we execute {{./build.sh -p, it will print info like this "Server 
> address: http://0.0.0.0:4000/"; which is actually invalid. I think the default 
> host should be replaced with "localhost".}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to