zentol commented on a change in pull request #15553:
URL: https://github.com/apache/flink/pull/15553#discussion_r611509118
##########
File path: flink-dist/src/main/resources/flink-conf.yaml
##########
@@ -145,7 +145,7 @@ jobmanager.execution.failover-strategy: region
# The address to which the REST client will connect to
#
-#rest.address: 0.0.0.0
+rest.address: localhost
Review comment:
Yes, in some cases.
For a purely local setup, or a cluster setup where submissions are submitted
internally (like, a master node running the JM + client), no change should be
required.
It is only necessary if submissions are to be accepted from the outside. In
that case I would think it is also good to require both to be explicitly
configured, because only the REST API should be accessible from the outside.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]