My filebeat is not able to talk with ealsticsearch

I am getting below error while testing out put from filebeat. Let me know if anyone has any solution.
elastic problem ss1

Are they all installed on the same host?

Is Elasticsearch security enabled?