I have a centos server wher I have installed Elasticsearch. the installation is done correctly with no changes in elasticsearch.yml i have installed it via RPM and its running perfectly as a service , but he problem is I am not been able to view anything on https://xxxx.com:9200. It says unable to connect. also I am using PHP to acces it via code but PHP code is also not been able to detect Elasticsearch
<?php require 'vendor/autoload.php'; $client = ClientBuilder::create()->build();
this code also shows a blank result with no error. I have absolutely no idea what is wrong can any one help.