Kibana's interface cannot be accessed through a browser


#1

I launched Elasticsearch withcommand ./elasticsearh and started Kibana with ./kibana.

Information returned from the interface:
【Elasticsearch】
[2018-06-10T10:40:40,023][INFO ][o.e.n.Node ] [inforsearch] initializing ...
[2018-06-10T10:40:40,148][INFO ][o.e.e.NodeEnvironment ] [inforsearch] using [1] data paths, mounts [[/ (rootfs)]], net usable_space [31.5gb], net total_space [39.2gb], types [rootfs]
[2018-06-10T10:40:40,148][INFO ][o.e.e.NodeEnvironment ] [inforsearch] heap size [193.3mb], compressed ordinary object pointers [true]
[2018-06-10T10:40:40,150][INFO ][o.e.n.Node ] [inforsearch] node name [inforsearch], node ID [N1PbScMBQ_mq-lsE_gXBCA]
[2018-06-10T10:40:40,150][INFO ][o.e.n.Node ] [inforsearch] version[6.2.4], pid[20973], build[ccec39f/2018-04-12T20:37:28.497551Z], OS[Linux/3.10.0-693.2.2.el7.x86_64/amd64], JVM[Oracle Corporation/OpenJDK 64-Bit Server VM/1.8.0_171/25.171-b10]
[2018-06-10T10:40:40,150][INFO ][o.e.n.Node ] [inforsearch] JVM arguments [-Xms200m, -Xmx200m, -XX:+UseConcMarkSweepGC, -XX:CMSInitiatingOccupancyFraction=75, -XX:+UseCMSInitiatingOccupancyOnly, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Djava.io.tmpdir=/tmp/elasticsearch.PwS4rLer, -XX:+HeapDumpOnOutOfMemoryError, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps, -XX:+PrintTenuringDistribution, -XX:+PrintGCApplicationStoppedTime, -Xloggc:logs/gc.log, -XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=32, -XX:GCLogFileSize=64m, -Des.path.home=/home/searchengine/elasticsearch-6.2.4, -Des.path.conf=/home/searchengine/elasticsearch-6.2.4/config]
[2018-06-10T10:40:41,545][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [aggs-matrix-stats]
[2018-06-10T10:40:41,545][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [analysis-common]
[2018-06-10T10:40:41,545][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [ingest-common]
[2018-06-10T10:40:41,545][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [lang-expression]
[2018-06-10T10:40:41,545][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [lang-mustache]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [lang-painless]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [mapper-extras]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [parent-join]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [percolator]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [rank-eval]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [reindex]
[2018-06-10T10:40:41,546][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [repository-url]
[2018-06-10T10:40:41,547][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [transport-netty4]
[2018-06-10T10:40:41,547][INFO ][o.e.p.PluginsService ] [inforsearch] loaded module [tribe]
[2018-06-10T10:40:41,547][INFO ][o.e.p.PluginsService ] [inforsearch] no plugins loaded
[2018-06-10T10:40:46,992][INFO ][o.e.d.DiscoveryModule ] [inforsearch] using discovery type [zen]
[2018-06-10T10:40:48,692][INFO ][o.e.n.Node ] [inforsearch] initialized
[2018-06-10T10:40:48,692][INFO ][o.e.n.Node ] [inforsearch] starting ...
[2018-06-10T10:40:49,150][INFO ][o.e.t.TransportService ] [inforsearch] publish_address {172.18.183.220:9300}, bound_addresses {172.18.183.220:9300}
[2018-06-10T10:40:49,161][INFO ][o.e.b.BootstrapChecks ] [inforsearch] bound or publishing to a non-loopback address, enforcing bootstrap checks
[2018-06-10T10:40:52,350][INFO ][o.e.c.s.MasterService ] [inforsearch] zen-disco-elected-as-master ([0] nodes joined), reason: new_master {inforsearch}{N1PbScMBQ_mq-lsE_gXBCA}{AK5psZF9QDqg-1iz9wNA6A}{172.18.183.220}{172.18.183.220:9300}
[2018-06-10T10:40:52,357][INFO ][o.e.c.s.ClusterApplierService] [inforsearch] new_master {inforsearch}{N1PbScMBQ_mq-lsE_gXBCA}{AK5psZF9QDqg-1iz9wNA6A}{172.18.183.220}{172.18.183.220:9300}, reason: apply cluster state (from master [master {inforsearch}{N1PbScMBQ_mq-lsE_gXBCA}{AK5psZF9QDqg-1iz9wNA6A}{172.18.183.220}{172.18.183.220:9300} committed version [1] source [zen-disco-elected-as-master ([0] nodes joined)]])
[2018-06-10T10:40:52,410][INFO ][o.e.h.n.Netty4HttpServerTransport] [inforsearch] publish_address {172.18.183.220:9200}, bound_addresses {172.18.183.220:9200}
[2018-06-10T10:40:52,410][INFO ][o.e.n.Node ] [inforsearch] started
[2018-06-10T10:40:52,422][INFO ][o.e.g.GatewayService ] [inforsearch] recovered [0] indices into cluster_state </>

【Kibana】

log [02:46:40.286] [info][status][plugin:kibana@6.2.4] Status changed from uninitialized to green - Ready
log [02:46:40.356] [info][status][plugin:elasticsearch@6.2.4] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [02:46:40.552] [info][status][plugin:timelion@6.2.4] Status changed from uninitialized to green - Ready
log [02:46:40.560] [info][status][plugin:console@6.2.4] Status changed from uninitialized to green - Ready
log [02:46:40.565] [info][status][plugin:metrics@6.2.4] Status changed from uninitialized to green - Ready
log [02:46:40.591] [info][listening] Server running at http://172.18.183.220:5601
log [02:46:40.674] [info][status][plugin:elasticsearch@6.2.4] Status changed from yellow to green - Ready </>

My kibana.yml

server.port: 5601

server.host: "172.18.183.220"

elasticsearch.url: "http://120.79.223.63:9200"
(172.18.183.220 is the private network IP of my cloud server
120.79.223.63 is the public network IP of the cloud server )

And I used 'http://120.79.223.63:5601' in Google Chrome to test the kibana then recieved 'Cannot access this website
120.79.223.63 response time is too long'


(Mark Walkom) #2

Right, because you only told it to serve on the local IP.


#3

How do I modify the configuration file?


(system) #4

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