# Has Elasticsearch started up properly?

**URL:** <https://discuss.elastic.co/t/has-elasticsearch-started-up-properly/98231>\
**Category:** Elasticsearch\
**Created:** [August 24, 2017, 12:10pm UTC](https://discuss.elastic.co/t/has-elasticsearch-started-up-properly/98231 "2017-08-24T12:10:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hrtqls432](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hrtqls432](https://discuss.elastic.co/u/hrtqls432)\
**Post date:** [August 24, 2017, 12:10pm UTC](https://discuss.elastic.co/t/has-elasticsearch-started-up-properly/98231/1 "2017-08-24T12:10:30Z")

</div>

Hello,

I want to use Sense and Kibi with Elasticsearch. With Elasticsearch and Kibi running I get the error ERR\_CONNECTION\_REFUSED when trying to access localhost:9200 through a browser.

The log is as follows:

[2017-08-24 13:55:18,749][WARN][bootstrap] jvm uses the client vm, make sure to run `java` with the server vm for best performance by adding `-server` to the command line  
[2017-08-24 13:55:19,060][INFO][node] [Mac Gargan] version[2.4.4], pid[5820], build[fcbb46d/2017-01-03T11:33:16Z]  
[2017-08-24 13:55:19,060][INFO][node] [Mac Gargan] initializing ...  
[2017-08-24 13:55:19,453][INFO][plugins] [Mac Gargan] modules [reindex, lang-expression, lang-groovy], plugins [siren-join], sites []  
[2017-08-24 13:55:19,468][INFO][env] [Mac Gargan] using [1] data paths, mounts [[(C:)]], net usable\_space [35.3gb], net total\_space [223gb], spins? [unknown], types [NTFS]  
[2017-08-24 13:55:19,468][INFO][env] [Mac Gargan] heap size [998.4mb], compressed ordinary object pointers [unknown]  
[2017-08-24 13:55:20,820][INFO][node] [Mac Gargan] initialized  
[2017-08-24 13:55:20,821][INFO][node] [Mac Gargan] starting ...  
[2017-08-24 13:55:21,078][INFO][transport] [Mac Gargan] publish\_address {127.0.0.1:9330}, bound\_addresses {127.0.0.1:9330}, {[::1]:9330}  
[2017-08-24 13:55:21,082][INFO][discovery] [Mac Gargan] kibi-distribution/LIqacA5-S4CaQXppG481iw  
[2017-08-24 13:55:24,113][INFO][cluster.service] [Mac Gargan] new\_master {Mac Gargan}{LIqacA5-S4CaQXppG481iw}{127.0.0.1}{127.0.0.1:9330}, reason: zen-disco-join(elected\_as\_master, [0] joins received)  
[2017-08-24 13:55:24,246][INFO][gateway] [Mac Gargan] recovered [6] indices into cluster\_state  
[2017-08-24 13:55:24,386][INFO][http] [Mac Gargan] publish\_address {127.0.0.1:9220}, bound\_addresses {127.0.0.1:9220}, {[::1]:9220}  
[2017-08-24 13:55:24,386][INFO][node] [Mac Gargan] started  
[2017-08-24 13:55:24,984][INFO][cluster.routing.allocation] [Mac Gargan] Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[article][2]] ...]).

Any ideas what's going on?

---

<div class="post-metadata">

**Author:** ![abdon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abdon/32/9195_2.png) [@abdon](https://discuss.elastic.co/u/abdon)\
**Post date:** [August 24, 2017, 12:28pm UTC](https://discuss.elastic.co/t/has-elasticsearch-started-up-properly/98231/2 "2017-08-24T12:28:18Z")

</div>

This line tells you what the issue is:

> [@hrtqls432](#):
>
> [2017-08-24 13:55:24,386][INFO][http] [Mac Gargan] publish\_address {127.0.0.1:9220}, bound\_addresses {127.0.0.1:9220}, {[::1]:9220}

Elasticsearch is listening on port 9220, instead of 9200. So, you need to connect to localhost:9220

---

<div class="post-metadata">

**Author:** ![hrtqls432](https://avatars.discourse-cdn.com/v4/letter/h/779978/32.png) [@hrtqls432](https://discuss.elastic.co/u/hrtqls432)\
**Post date:** [August 24, 2017, 5:55pm UTC](https://discuss.elastic.co/t/has-elasticsearch-started-up-properly/98231/3 "2017-08-24T17:55:53Z")

</div>

Thanks 🙂

---

<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:** [September 21, 2017, 5:56pm UTC](https://discuss.elastic.co/t/has-elasticsearch-started-up-properly/98231/4 "2017-09-21T17:56:20Z")

</div>

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