Error Could not contact Elasticsearch at http://localhost:9200. Please ensure that Elasticsearch is reachable from your system

Hi, this question has been asked so many times I am so sorry for being a
noob.

Kibana keeps giving me the error "Error Could not contact Elasticsearch at
http://localhost:9200. Please ensure that Elasticsearch is reachable from
your system.]

I have changed the conig.js to be the correct ip yet I am still getting
this error.

elasticsearch: "http://localhost:9200",

localhost = my ubuntu server's address

pls help

apache2 elasticsearch kibana and logstash are all on the same host.

Thank you for your needed help,

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bb5333a5-57b8-40e7-a58c-c08a2cb3da29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.