title: Binding Multiple IP addresses to Master in Spark
body: <p>I am trying to set up Apache Spark with the following systems:   </p>
  
  <p>1 Master Node(having public IP, local IP)<br>
  Slave Node-3(having public IP, local IP)<br>
  Slave node-2(having Local IP)  </p>
  
  <p>The configuration is such that the Master Node and Slave Node-3 communicate via public IP's whereas Slave node-2 communicates with the other two Nodes via localIP's.</p>
  
  <p>The problem I am facing is, that since the Master Node binds to a public IP, Slave Node-2 is unable to connect to the Master via it's local IP this giving a connection refused error, however Slave Node-3 is able to communicate with the Master Node without any difficulty.</p>
  
  <p>Is there a way as to how can i allow communication between Master Node and Slave Node-2 or as to how can i bind multiple addresses to the Master Node, for e.g such a configuration is possible in Hadoop where we can have the namenode bind to multiple hosts.</p>
  
  <p>Thank you </p>