Wazuh opensearch dashboard ConnectionError: connect ECONNREFUSED ::1:9200"

 Wazuh opensearch dashboard ConnectionError: connect ECONNREFUSED ::1:9200"

 

 If you see error like this:

 Aug 19 13:38:21 wazuh opensearch-dashboards[486]: {"type":"log","@timestamp":"2024-08-19T04:38:21Z","tags":["error","opensearch","data"],"pid":486,"message":"[ConnectionError]: connect ECONNREFUSED ::1:9200"}

the problem is with missing host localhost IP at: (default is IPv6 and deamon is not listening on it)

/etc/wazuh-dashboard/opensearch_dashboards.yml 


opensearch.hosts: https://127.0.0.1:9200
#opensearch.hosts: https://localhost:9200

Comments

Popular posts from this blog

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

Reduce (shrink) and resize raw disk at Proxmox

How to clone CentOS server to another one