# Cant Change Elastic Search Port On Kibana

**URL:** <https://discuss.elastic.co/t/cant-change-elastic-search-port-on-kibana/123435>\
**Category:** Kibana\
**Created:** [March 11, 2018, 5:26pm UTC](https://discuss.elastic.co/t/cant-change-elastic-search-port-on-kibana/123435 "2018-03-11T17:26:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokhanartuk](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gokhanartuk](https://discuss.elastic.co/u/gokhanartuk)\
**Post date:** [March 11, 2018, 5:26pm UTC](https://discuss.elastic.co/t/cant-change-elastic-search-port-on-kibana/123435/1 "2018-03-11T17:26:14Z")

</div>

Hi

I am new to kibana and having a problem about changed default elasticsearch port on kibana. What I am trying to do is change default 9200 port to 9205 in elastichsearch. For the elasticsearch part I am able to do that by changing http.port: 9205 value in elastichsearch.yml

But even I change config\kibana.yml elasticsearch.url to #elasticsearch.url: "[http://localhost:9205](http://localhost:9205)" kibana only trying to listen [http://localhost.9200](http://localhost.9200) and having problem about finding live connections.

I spent 2-3 days on it but couldnt find any solution.

---

<div class="post-metadata">

**Author:** ![Brandon\_Kobel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/brandon_kobel/32/14829_2.png) [@Brandon\_Kobel](https://discuss.elastic.co/u/Brandon_Kobel)\
**Post date:** [March 12, 2018, 1:43pm UTC](https://discuss.elastic.co/t/cant-change-elastic-search-port-on-kibana/123435/2 "2018-03-12T13:43:47Z")

</div>

Hey @gokhankocak, the `elasticsearch.url` setting is what you should change, if you run the following from the Kibana server, what do you see?

```auto
curl http://localhost:9205

```

---

<div class="post-metadata">

**Author:** ![gokhanartuk](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@gokhanartuk](https://discuss.elastic.co/u/gokhanartuk)\
**Post date:** [March 12, 2018, 1:57pm UTC](https://discuss.elastic.co/t/cant-change-elastic-search-port-on-kibana/123435/3 "2018-03-12T13:57:58Z")

</div>

Hi,

I made a big mistake. I didnt know that # means commented line in kibana.yml file. I removed that sign from the beginin and it is working now. Sorry for misunderstanding

---

<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:** [April 9, 2018, 1:58pm UTC](https://discuss.elastic.co/t/cant-change-elastic-search-port-on-kibana/123435/4 "2018-04-09T13:58:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
