ElasticSearch 7.2 not able to connect from localhost

We need the logs when it fails.

Please read this about how to format.