title: Kibana connection is refused while connecting through CURL?
body: <p>I have install elasticsearch and kibana in the <strong>Google VM instance</strong> (<strong>Ubuntu-16.04</strong>) and configured them respectively. I have check the status of elasticsearch and kibana. Both are in active (running state). </p>
  
  <p>I have viewed elasticsearch usingcommand,
   <strong>curl -XGET "{ip-addr}:9200"</strong>. The output is</p>
  
  <pre><code>{
    "name" : "node-1",
    "cluster_name" : "cluster-1",
    "version" : {
      "number" : "2.3.1",
      "build_hash" : "bd980929010aef404e7cb0843e61d0665269fc39",
      "build_timestamp" : "2016-04-04T12:25:05Z",
      "build_snapshot" : false,
      "lucene_version" : "5.5.0"
    },
    "tagline" : "You Know, for Search"
  }
  </code></pre>
  
  <p>When I'm trying to see for kibana with <strong>curl -XGET "{ip-addr}:5601"</strong>, it is throwing error as </p>
  
  <pre><code>curl: (7) Failed to connect to  {ip-addr} port 5601: Connection refused
  </code></pre>
  
  <p>The changes I have done in <strong>kibana.yml</strong> file  are : </p>
  
  <pre><code>server.port: 5601 
  server.host: 10.128.0.2 
  server.name: "tserver" 
  elasticsearch.url: "10.128.0.2:9200" 
  kibana.index: ".tkibana" 
  logging.dest: /var/log/kibana/kibana.log
  </code></pre>
  
  <p>The log file is also not updating.</p>
  
  <p>When kibana is in active state, I'm trying this command <strong>curl -XGET "10.128.0.2:5601"</strong> , the status of kibana is going to be inactive.</p>
  
  <p>I found this port is not listened. I have checked the 9200 and 5601 ports using following commands.</p>
  
  <p><strong>netstat -a -n | grep tcp | grep 9200</strong> , the output is
   <strong>tcp6       0      0 10.128.0.2:9200         :::*                    LISTEN</strong>     </p>
  
  <p>But for 5601 port, <strong>netstat -a -n | grep tcp | grep 5601</strong> , the output is null (empty message).</p>
  
  <p>I have to view elasticsearch data in kibana console, So should I install Loagstash too  or not needed ???</p>
  
  <p>Can, anybody help me out from this problem.</p>