title: flink HA standalone cluster failed
body: <p>2 computers，203，204 <br/>
  both run <code>jobmanager</code> and <code>taskmanager</code> on every computer</p>
  masters
  <pre><code>hz203:9081
  hz204:9081
  </code></pre>
  slaves
  <pre><code>hz203
  hz204
  </code></pre>
  flink-conf.yaml
  <pre><code>jobmanager.rpc.port: 6123
  rest.port: 9081
  blob.server.port: 6124
  query.server.port: 6125
  web.tmpdir: /home/ctu/flink/deploy/webTmp
  web.log.path: /home/ctu/flink/deploy/log
  taskmanager.tmp.dirs: /home/ctu/flink/deploy/taskManagerTmp
  high-availability: zookeeper
  high-availability.storageDir: file:///home/ctu/flink/deploy/HA
  high-availability.zookeeper.quorum: 10.0.1.79:2181
  high-availability.zookeeper.path.root: /flink
  high-availability.cluster-id: /flink
  </code></pre>
  run <code>./start-cluster.sh</code>
  <pre><code>Starting HA cluster with 2 masters.
  Starting standalonesession daemon on host hz203.
  Starting standalonesession daemon on host hz204.
  Starting taskexecutor daemon on host hz203.
  Starting taskexecutor daemon on host hz204.
  </code></pre>
  logs
  <pre><code>2018-12-20 20:44:03,843 INFO  org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionService  - Starting ZooKeeperLeaderElectionService ZooKeeperLeaderElectionService{leaderPath='/leader/rest_server_lock'}.
  2018-12-20 20:44:03,864 INFO  org.apache.flink.runtime.dispatcher.DispatcherRestEndpoint    - Web frontend listening at http://127.0.0.1:9081.
  2018-12-20 20:44:03,875 INFO  org.apache.flink.runtime.rpc.akka.AkkaRpcService              - Starting RPC endpoint for org.apache.flink.runtime.resourcemanager.StandaloneResourceManager at akka://flink/user/resourcemanager .
  2018-12-20 20:44:03,989 INFO  org.apache.flink.runtime.rpc.akka.AkkaRpcService              - Starting RPC endpoint for org.apache.flink.runtime.dispatcher.StandaloneDispatcher at akka://flink/user/dispatcher .
  2018-12-20 20:44:03,999 INFO  org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionService  - Starting ZooKeeperLeaderElectionService ZooKeeperLeaderElectionService{leaderPath='/leader/resource_manager_lock'}.
  2018-12-20 20:44:04,008 INFO  org.apache.flink.runtime.leaderretrieval.ZooKeeperLeaderRetrievalService  - Starting ZooKeeperLeaderRetrievalService /leader/resource_manager_lock.
  2018-12-20 20:44:04,009 INFO  org.apache.flink.runtime.leaderelection.ZooKeeperLeaderElectionService  - Starting ZooKeeperLeaderElectionService ZooKeeperLeaderElectionService{leaderPath='/leader/dispatcher_lock'}.
  2018-12-20 20:44:04,010 INFO  org.apache.flink.runtime.leaderretrieval.ZooKeeperLeaderRetrievalService  - Starting ZooKeeperLeaderRetrievalService /leader/dispatcher_lock.
  2018-12-20 20:44:04,206 WARN  akka.remote.transport.netty.NettyTransport                    - Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:43012
  2018-12-20 20:44:04,221 WARN  akka.remote.ReliableDeliverySupervisor                        - Association with remote system [akka.tcp://flink@127.0.0.1:43012] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink@127.0.0.1:43012]] Caused by: [Connection refused: /127.0.0.1:43012]
  2018-12-20 20:44:04,301 WARN  akka.remote.transport.netty.NettyTransport                    - Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:43012
  2018-12-20 20:44:04,301 WARN  akka.remote.ReliableDeliverySupervisor                        - Association with remote system [akka.tcp://flink@127.0.0.1:43012] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink@127.0.0.1:43012]] Caused by: [Connection refused: /127.0.0.1:43012]
  2018-12-20 20:44:04,378 WARN  akka.remote.transport.netty.NettyTransport                    - Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:43012
  2018-12-20 20:44:04,378 WARN  akka.remote.ReliableDeliverySupervisor                        - Association with remote system [akka.tcp://flink@127.0.0.1:43012] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink@127.0.0.1:43012]] Caused by: [Connection refused: /127.0.0.1:43012]
  2018-12-20 20:44:04,451 WARN  akka.remote.transport.netty.NettyTransport                    - Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:43012
  2018-12-20 20:44:04,451 WARN  akka.remote.ReliableDeliverySupervisor                        - Association with remote system [akka.tcp://flink@127.0.0.1:43012] has failed, address is now gated for [50] ms. Reason: [Association failed with [akka.tcp://flink@127.0.0.1:43012]] Caused by: [Connection refused: /127.0.0.1:43012]
  2018-12-20 20:44:04,520 WARN  akka.remote.transport.netty.NettyTransport                    - Remote connection to [null] failed with java.net.ConnectException: Connection refused: /127.0.0.1:43012
  </code></pre>
  questions
  <pre><code>`akka.tcp://flink@127.0.0.1:33567/user/resourcemanager` --- Why the 127.0.0.1 instead of the `jobmanager` ip in the `masters's` config file?
  </code></pre>