Has Elasticsearch started up properly?


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 {}, bound_addresses {}, {[::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}{}{}, 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 {}, bound_addresses {}, {[::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?

This line tells you what the issue is:

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

Thanks :slight_smile:

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