ElasticSearch not running on localhost:9200 after apt-get install

Viewed 925

I installed elasticsearch from Ubuntu repositories using

sudo apt-get install elasticsearch

After that I assumed the service would be setup and running, but when I opened localhost:9200 it was not running. Is there additional configuration or command that I need to run?

Edit: I also ran sudo systemctl start elasticsearch.service (ubuntu is on systemd) but no effect.

4 Answers
Related