Couldn't connect to any of the configured Elasticsearch hosts

Hello,

i have configured all settings in configuration file at winlogbeat.yml, to send logs to Elastic.
but unfortunately i couldn't receive any logs at Elastic and when i run the below command in Powershell ".\winlogbeat.exe setup".

Exiting: Couldn't connect to any of the configured Elasticsearch hosts. Errors: [Error connection to Elasticsearch http://x.x.x.x:9200: Get http://x.x.x.x:9200: dial tcp x.x.x.x:9200: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.]

Could you ping your Elasticsearch hosts?

Yes, I can ping to and back

Could you telnet x.x.x.x 9200 ?

can't telnet against this server even i changed Destination port and used 80,443,9200 and many other ports

what's the network.host value in elasticsearch.yaml? Change the network.host value to your authentic ip,
such as
network.host: 0.0.0.0

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