title: Can’t access Kibana after reload, and enabled & started kibana service. HTTP 302 Error
body: <p>I installed elasticSearch (7.4.1) on Ubuntu 18.04.1 server in Virtualbox, and it is working fine. I could create mapping, indexes, and use all the cmds(XPUT, XPOST, XGET ...).</p>
  
  <p>After installing Kibana(7.5.2) in the same server as ES, and updated the Kibana.yml for the following line ONLY:</p>
  
  <blockquote>
    <p>server.host: "0.0.0.0"</p>
  </blockquote>
  
  <p>Kibana server is up and running but it returns HTTP 302. Here are the cmds I used to install and test this issue.</p>
  
  <pre><code>sudo apt-get install kibana
  sudo /bin/systemctl daemon-reload
  sudo /bin/systemctl enable kibana.service
  sudo /bin/systemctl start kibana.service
  </code></pre>
  
  <p>After waiting for few minutes I checked the kibana log</p>
  
  <pre><code>journalctl -u kibana.service
  </code></pre>
  
  <p>Once I could see the kibana is up and running as below</p>
  
  <blockquote>
    <p>"tags":["info","http","server","Kibana"],"pid":3388,"message":"http
    server running at <a href="http://0.0.0.0:5601" rel="nofollow noreferrer">http://0.0.0.0:5601</a>"}</p>
  </blockquote>
  
  <p>I called the url with <code>curl</code> and it returns HTTP 302 Error</p>
  
  <pre><code>curl -I localhost:5601
  
  curl -I 127.0.0.1:5601
  
  curl -I 0.0.0.0:5601
  </code></pre>
  
  <p>If I use -IL and it returns HTTP 503 Error</p>
  
  <pre><code>curl -IL localhost:5601
  </code></pre>
  
  <p>Here is the kibana log</p>
  
  <blockquote>
    <p>"head","statusCode":302,"req":{"url":"/","method":"head","headers":{"host":"localhost:5601","user-agent":"curl/7.58.0","
    ........</p>
  </blockquote>
  
  <p>How can I fix this 302 error?
  I tried to restart the services, Ubuntu server, and reinstall Kibana, same error.</p>