windows - No response from elasticsearch thru sense and browser -
i've installed elasticsearch 5.3 on windows 10 machine , after following installation process, es not respond when access http://localhost:9200 , chrome's sense.
however, when use curl 'http://localhost:9200'
on command line, sends this:
{ "name" : "test", "cluster_name" : "my-application", "cluster_uuid" : "9-wvh6uxthskmkdpblqyya", "version" : { "number" : "5.3.0", "build_hash" : "3adb13b", "build_date" : "2017-03-23t03:31:50.652z", "build_snapshot" : false, "lucene_version" : "6.4.1" }, "tagline" : "you know, search" }
which indicates es running/configured correctly(?).
i configured network.host:
0.0.0.0
/127.0.0.1
/::
of elasticsearch.yml still no effect.
here latest log info:
[2017-04-07t18:21:06,481][info ][o.e.n.node ] [test] initializing ... [2017-04-07t18:21:06,633][info ][o.e.e.nodeenvironment ] [test] using [1] data paths, mounts [[osdisk (c:)]], net usable_space [129.2gb], net total_space [232.3gb], spins? [unknown], types [ntfs] [2017-04-07t18:21:06,634][info ][o.e.e.nodeenvironment ] [test] heap size [1.9gb], compressed ordinary object pointers [true] [2017-04-07t18:21:06,681][info ][o.e.n.node ] [test] node name [test], node id [ab5g3zn0s7qnoup_asf-iq] [2017-04-07t18:21:06,682][info ][o.e.n.node ] [test] version[5.3.0], pid[312], build[3adb13b/2017-03-23t03:31:50.652z], os[windows 10/10.0/amd64], jvm[oracle corporation/java hotspot(tm) 64-bit server vm/1.8.0_121/25.121-b13] [2017-04-07t18:21:08,288][info ][o.e.p.pluginsservice ] [test] loaded module [aggs-matrix-stats] [2017-04-07t18:21:08,289][info ][o.e.p.pluginsservice ] [test] loaded module [ingest-common] [2017-04-07t18:21:08,291][info ][o.e.p.pluginsservice ] [test] loaded module [lang-expression] [2017-04-07t18:21:08,291][info ][o.e.p.pluginsservice ] [test] loaded module [lang-groovy] [2017-04-07t18:21:08,292][info ][o.e.p.pluginsservice ] [test] loaded module [lang-mustache] [2017-04-07t18:21:08,294][info ][o.e.p.pluginsservice ] [test] loaded module [lang-painless] [2017-04-07t18:21:08,295][info ][o.e.p.pluginsservice ] [test] loaded module [percolator] [2017-04-07t18:21:08,296][info ][o.e.p.pluginsservice ] [test] loaded module [reindex] [2017-04-07t18:21:08,296][info ][o.e.p.pluginsservice ] [test] loaded module [transport-netty3] [2017-04-07t18:21:08,298][info ][o.e.p.pluginsservice ] [test] loaded module [transport-netty4] [2017-04-07t18:21:08,299][info ][o.e.p.pluginsservice ] [test] loaded plugin [ltr-query] [2017-04-07t18:21:11,330][info ][o.e.n.node ] [test] initialized [2017-04-07t18:21:11,330][info ][o.e.n.node ] [test] starting ... [2017-04-07t18:21:11,612][info ][o.e.t.transportservice ] [test] publish_address {127.0.0.1:9300}, bound_addresses {127.0.0.1:9300}, {[::1]:9300} [2017-04-07t18:21:14,657][info ][o.e.c.s.clusterservice ] [test] new_master {test}{ab5g3zn0s7qnoup_asf-iq}{xyhtuz8aqn6kyreplchfng}{127.0.0.1}{127.0.0.1:9300}, reason: zen-disco-elected-as-master ([0] nodes joined) [2017-04-07t18:21:14,826][info ][o.e.h.n.netty4httpservertransport] [test] publish_address {127.0.0.1:9200}, bound_addresses {127.0.0.1:9200}, {[::1]:9200} [2017-04-07t18:21:14,826][info ][o.e.n.node ] [test] started [2017-04-07t18:21:14,982][info ][o.e.g.gatewayservice ] [test] recovered [1] indices cluster_state [2017-04-07t18:21:15,510][info ][o.e.c.r.a.allocationservice] [test] cluster health status changed [red] [yellow] (reason: [shards started [[tmdb][0]] ...]).
got it! referring network settings documentation, tried run using script: elasticsearch.bat -e network.host=_local_
, , worked!
i changed configuration file(./config/elasticsearch.yml). uncomment line , change network.host: _local_
. after that, ran elasticsearch.bat directly.
or
to put comment network.host
line.
Comments
Post a Comment