# Problems configuring Kibana 3 +NGINX

**URL:** <https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890>\
**Category:** Kibana\
**Created:** [July 20, 2015, 10:31am UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890 "2015-07-20T10:31:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![billy6](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@billy6](https://discuss.elastic.co/u/billy6)\
**Post date:** [July 20, 2015, 10:31am UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/1 "2015-07-20T10:31:12Z")

</div>

Hello, I'm very noob in all of this.  
I have been seeing some tutorials online but it doesn't work for me.

I want to configure a Logstash+Elasticsearch+Kibana  
In order to see the logings from any browser typing "[http://IP:80](http://IP:80)"

In my kibana config.js I have this\>

```
 * ==== elasticsearch
     *
     * The URL to your elasticsearch server. You almost certainly don't
     * want +http://localhost:9200+ here. Even if Kibana and Elasticsearch are on
     * the same host. By default this will attempt to reach ES at the same host you have
     * kibana installed on. You probably want to set it to the FQDN of your
     * elasticsearch host
     *
     * Note: this can also be an object if you want to pass options to the http client. For example:
     *
     * +elasticsearch: {server: "http://localhost:9200", withCredentials: true}+
     *
     */
    elasticsearch: "http://localhost:80",

```

In my nginx.conf I have

```
# Nginx proxy for Elasticsearch + Kibana
#
# In this setup, we are password protecting the saving of dashboards. You may
# wish to extend the password protection to all paths.
#
# Even though these paths are being called as the result of an ajax request, the
# browser will prompt for a username/password on the first request
#
# If you use this, you'll want to point config.js at http://FQDN:80/ instead of
# http://FQDN:9200
#
server {
  listen *:80 ;

  server_name localhost;
  access_log /var/log/nginx/kibana.myhost.org.log;

  location / {
    root /var/www/kibana3;
    index index.html index.htm;
  }

  location ~ ^/_aliases$ {
    proxy_pass http://127.0.0.1:9200;
    proxy_read_timeout 90;
  }

```

When I try to access to IP:2900 I obtain the elasticsearch configuration \>

```
{
  "ok" : true,
  "status" : 200,
  "name" : "Franz Kafka",
  "version" : { .... 

```

So it seems to be OK.  
However when I try to access to IP:80 I obtain the NGINX welcome page instead of the KIBANA page...  
Could you please tel me where could be the problem? I'm sure that it isbecause the configuration files..

Please help me  
Thank you very much

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 20, 2015, 1:01pm UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/2 "2015-07-20T13:01:26Z")

</div>

> [@billy6](#):
>
> elasticsearch: "[http://localhost:80](http://localhost:80)",

Is your Elasticsearch cluster really running on port 80? By default, it runs on port 9200.

---

<div class="post-metadata">

**Author:** ![billy6](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@billy6](https://discuss.elastic.co/u/billy6)\
**Post date:** [July 20, 2015, 2:11pm UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/3 "2015-07-20T14:11:01Z")

</div>

Thanks for your response Tanya. I have changed it. But when I change it and I write on my browser http://'ip':80 I obtain the same Welcome page of NGINX.

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 21, 2015, 1:52pm UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/4 "2015-07-21T13:52:55Z")

</div>

I have a very simple local setup that works.

Here is my nginx config (i'm not configuring aliases):

```
server {
    listen 8080;
    server_name localhost;

    location / {
        root /path/to/kibana-3.1.2;
        index index.html index.htm;
    }
   ...

```

And kibana-3.1.2/config.js:

```
  return new Settings({
       elasticsearch: "http://localhost:9200",
       ....

```

So, you're on the right track, probably some minor configuration detail is missing.

---

<div class="post-metadata">

**Author:** ![billy6](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@billy6](https://discuss.elastic.co/u/billy6)\
**Post date:** [July 21, 2015, 2:07pm UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/5 "2015-07-21T14:07:06Z")

</div>

Hi Tanya,  
Thanks for your help.  
I have this in my configuration files.

I have been able to conect with the graphical interface of Kibana. However I can't see the elasticsearch config by [http://IP:9200](http://IP:9200)... while from my server I'm able to do it with [http://localhost:9200](http://localhost:9200)

Besides I have 2 errors in Kibana.

> " Upgrade Required Your version of Elasticsearch is too old. Kibana requires Elasticsearch 0.90.9 or above."

> "Error Could not reach [http://localhost:80/\_nodes](http://localhost:80/_nodes). If you are using a proxy, ensure it is configured correctly"

And I'm using Elasticsearch 0.90.9

What do you think about it?

---

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [July 21, 2015, 4:14pm UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/6 "2015-07-21T16:14:15Z")

</div>

From the error message, it appears that Kibana is still looking for Elasticsearch on port 80 instead of 9200. Could you double-check your config again?

---

<div class="post-metadata">

**Author:** ![billy6](https://avatars.discourse-cdn.com/v4/letter/b/cab0a1/32.png) [@billy6](https://discuss.elastic.co/u/billy6)\
**Post date:** [July 30, 2015, 9:18am UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/7 "2015-07-30T09:18:41Z")

</div>

that was it! Thank you very much Tanya 😄

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 2:15pm UTC](https://discuss.elastic.co/t/problems-configuring-kibana-3-nginx/25890/8 "2017-07-06T14:15:38Z")

</div>


