Sage X3 component Syracuse connection to ElasticSearch problem

SUGGESTED

During installing of Syracuse component the ElasticSearch connection is not building it keeps on popping the error message "Checking ElasticSearch connection parameters failed ! "  
I have set the network host name to localhost during the installation of ElasticSearch , I am giving the same host name here but still it is not working .