Hello, I set up a k3s cluster using ubuntu. I want to install ELK on my cluster. So I installed elasticsearch and Kibana with the Debian package in version 7.6.1. I left the elastic and Kibana configuration as default.
When I want to connect to kibana the connection is impossible via web, via the local address 192.168.122.196:5601.
Kibana listens on port 5601 after restarting the service.
The service is running.
the command '''curl localhost:5601''' or '''curl 192.168.122.196'''
gives me the error: curl: (7) Failed to connect to localhost port 5601 after 0 ms: Connection refused
If you want to access kibana from other than localhost you need to uncomment the following line in kibana.yml which allows kibana to bind with the network
server.host
This setting specifies the host of the back end server. To allow remote users to connect, set the value to the IP address or DNS name of the Kibana server. Use 0.0.0.0 to make Kibana listen on all IPs (public and private). Default: "localhost"
BTW 7.6.1. is absolutely ancient and is EOL you should really use a much newer version at least 7.17 or 8.x and with that in mind if you look at the docs make sure you look at the right ones / version
This is a new installation.
kibana and elastic are on the same server.
I haven't installed security, it's just the default setting.
ubuntu@test-k3s-master-1:~$ curl http://192.168.122.196:5601
curl: (28) Failed to connect to 192.168.122.196 port 5601 after 134223 ms: Connexion terminée par expiration du délai d'attente
ubuntu@test-k3s-master-1:~$ curl http://127.0.0.1:5601
curl: (28) Failed to connect to 127.0.0.1 port 5601 after 133283 ms: Connexion terminée par expiration du délai d'attente
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.