[ERROR] Winlogbeat cannot connect to Elastic

Hello friends,

I am trying connect Winlogbeat from my Windows PC to Elastic in Ubuntu Server.

Unfortunately i received that message error:

I try allow port 9200 in Windows and Ubuntu VM, but error continue
I try disable firewall in Windows and Ubuntu VM, but error continue

I need your help!

Thanks so much!

Hi @marioaxavier7 Welcome to the community!

First please try not to post images of text the can be hard to read, can not be searched can not be debugged.

What version winlogbeat and elastic

It elastic is 8.x it is probably running on HTTPS

run

curl -v http://<ohseeicannotcutandpastetheip>:9200

curl -k -v https://<ohseeicannotcutandpastetheip>:9200

Although actively refused is often a Firewall

Also I suggest to run the above curl commands from bash on the ubuntu machine (i.e. using the given IP, not localhost) to confirm ES works.