Answers: <p>Put the following setting in <code>/etc/elasticsearch.yml</code> and it will work.</p>
  <pre><code>network.host: 0.0.0.0
  discovery.type: single-node
  </code></pre>
  
Answers: CC BY-SA 4.0
Answers: 2020-09-29T09:30:52.273Z
Answers: 2020-09-29T09:30:52.273Z
Answers: Subhash
Body: <p>I have installed elasticsearch-oss 7.9.2 and kibana 7.9.2 on ubuntu 18.04 when I start elasticsearch service then it's started normally but when I start service kibana it's not starting and shows error '<strong>Unable to connect to Elasticsearch</strong>. Error: Request Timeout after 30000ms'</p>
  
Tags: <elastic><kibana><elasticsearch>
Title: Unable to connect to Elasticsearch [ Error: Request Timeout after 30000ms ]
UserDisplayName: Jay
ThreadText: # Unable to connect to Elasticsearch [ Error: Request Timeout after 30000ms ]
  
  (Asked by: username_0 on 2020-09-29)
  
  I have installed elasticsearch-oss 7.9.2 and kibana 7.9.2 on ubuntu 18.04 when I start elasticsearch service then it's started normally but when I start service kibana it's not starting and shows error '**Unable to connect to Elasticsearch**. Error: Request Timeout after 30000ms'
  
  **Tags:** elastic, kibana, elasticsearch
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-09-29. Score: 1 | Accepted answer
  
  Put the following setting in `/etc/elasticsearch.yml` and it will work.
  
  ```
  network.host: 0.0.0.0
  discovery.type: single-node
  
  ```
  
  
  ---
  
  