Can't connect to elasticsearch

I keep getting this error when accessing the Kibana UI.

Any idea what needs to change inside each yml. I am installing kibana 5.0.

close this. Figured the problem out.

What was the problem?

Misconfigured ES.yml.