title: sending cURL request to another machine gives connection refused
body: <p>On my one machine(m1) elasticsearch is installed and on my other machine (m2) it's not. I want to send cURL request to m1 on which E.S is running. I am using this query</p>
  
  <pre><code>curl -H "Content-Type:application/json" -XGET "10.10.10.149:9200/bigmart/dotnet/_search?pretty" -d ' { "query":{"match_all":{}}}'
  </code></pre>
  
  <p>it gives me </p>
  
  <pre><code>curl: (7) Failed to connect to 10.10.10.149 port 9200: Connection refused
  </code></pre>
  
  <p>I can ping and ssh to that machine , but I can't send cURL to that machine, what am I missing ?</p>
  
  <p>I can do localhost:9200 successfully, so I gues port 9200 is open. I am missing something, I don't know exactly what</p>