Hi, I am having trouble setting up my filebeat dashboards in Kibana. When I run the command to setup dashboards I am getting this error.
Get http://192.168.126.132:5601/api/status: dial tcp 192.168.126.132:5601: connectex: No connection could be made because the target machine actively refused it
My filebeat.yml looks like this:
setup.kibana.host: "192.168.126.132:5601"
My Kibana host machine is reachable on the network. I'm not sure why it is being actively refused. I have allowed all connections to port 5601 in ufw.
When I run netstat -plnt I get :
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7734 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:7736 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:5601 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:514 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:8101 0.0.0.0:* LISTEN -
tcp6 0 0 :::9200 :::* LISTEN -
tcp6 0 0 :::47760 :::* LISTEN -
tcp6 0 0 :::5044 :::* LISTEN -
tcp6 0 0 :::9300 :::* LISTEN -
tcp6 0 0 :::7734 :::* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
tcp6 0 0 :::7736 :::* LISTEN -
tcp6 0 0 :::443 :::* LISTEN -
tcp6 0 0 :::9600 :::* LISTEN -
tcp6 0 0 :::6050 :::* LISTEN -
tcp6 0 0 :::6051 :::* LISTEN -
tcp6 0 0 :::6052 :::* LISTEN -
tcp6 0 0 :::6053 :::* LISTEN -
Is it a problem with Kibana's host server name? My Kibana.yml is below:
server.name: kibana
server.host: "0.0.0.0"
elasticsearch.url: http://elasticsearch:9200
#elasticsearch.username: elastic
#elasticsearch.password: changeme
#xpack.monitoring.ui.container.elasticsearch.enabled: true
logging.dest: /var/log/kibana/kibana.log
Any help would be appreciated.
Thanks