I'm trying to run the Kibana on 5601 port & seems like ES & Kibana service are running. But I can't access the Kibana portal or the 5601 port. Any suggestion?
Elasticsearch:
> curl localhost:9200
{
"name" : "node-1",
"cluster_name" : "spatel_elasticsearch",
"cluster_uuid" : "bDb6HY5RR0mAsP9icXLh0g",
"version" : {
"number" : "7.10.0",
"build_flavor" : "default",
"build_type" : "deb",
"build_hash" : "51e9d6f22758d0374a0f3f5c6e8f3a7997850f96",
"build_date" : "2020-11-09T21:30:33.964949Z",
"build_snapshot" : false,
"lucene_version" : "8.7.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}
Kibana service:
> sudo systemctl status kibana.service
● kibana.service - Kibana
Loaded: loaded (/etc/systemd/system/kibana.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2020-11-12 23:50:08 UTC; 1min 21s ago
Main PID: 31462 (node)
Tasks: 7 (limit: 4915)
CGroup: /system.slice/kibana.service
└─31462 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli/dist
Nov 12 23:50:08 ip-10-122-99-135 systemd[1]: Started Kibana.
Kibana config:
> sudo cat /etc/kibana/kibana.yml
server.port: 5601
server.host: 10.122.99.135 # IP; where Kibana & ES is running
elasticsearch.hosts: ["http://localhost:9200"] # ES is running on same instance as Kibana
elasticsearch.preserveHost: false
logging.dest: stdout
logging.verbose: true
Error:
> curl http://localhost:5601
curl: (7) Failed to connect to localhost port 5601: Connection refused
netstat
> sudo netstat -natp | grep 5601
tcp 0 0 10.122.99.135:5601 0.0.0.0:* LISTEN 31462/node