Kibana not able to connect to elasticsearch

If its working for you then it should work for me too. It cannot be connection problem as firewall is off on both the machines and the both belong to the same subnet. In my post I have mentioned my config file. Is something wrong with it?