Filebeat stopped working after adding a node to the cluster

Hello everybody.
I have installed one node with ELK 8.17.2 on Ubuntu 24.04.Elasticsearch, Kibana and Filebeat.All working.
I decided then to install another elasticsearch node for redundancy.Only elasticsearch. I was able to configure the cluster and I can see everything in green when I go to stack monitoring.
Unfortunately after this filebeat reports zero logs.
I have added both elasticsearch nodes in filebeat.yml and restarted service but no go.
Can anybody help me to figure out what I'm doing wrong?
Thank you.

Read your logs.