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.