Error : Could not connect to ElasticSearch

What’s the complete output of these commands?
What’s in the logs of your Elasticsearch node(s)?