Error : Could not connect to ElasticSearch

127.0.0.1 is the local loopback interface and only accessible from the same machine.