title: How to configure two nodes to connect to same cluster in elasticsearch?
body: <p>I have 2 separate machines. Port 9200 is already taken by a separate elasticsearch running, so I specify 9201 as the http.port in the yml file. i set cluster.name: MyCluster.</p>
  
  <p>When I start ./elasticsearch on machine 1 and machine 2, they are not connected, but each are single node master's. </p>
  
  <p>What do I need to do so that they can connect to each other and be part of the same cluster?</p>
  
  <p>I also set network.host: 0.0.0.0 so I know they can see each other. I am using 2.4.0 of Elastcisearch.</p>