Langsung ke konten utama

Postingan

Menampilkan postingan dari 2016

Ruby on Rails Elasticsearch - Faraday::ConnectionFailed (Connection refused - connect(2) for "localhost" port 9200)

English: Ruby on Rails logo (Photo credit: Wikipedia) Ruby on Rails can implement Elastic search. I have project that use Elasticsearch to search job. This is my new experience to set up elastic search.
After I run the rails project, I had error

Faraday::ConnectionFailed (Connection refused - connect(2) for "localhost" port 9200)


This is what you have to do

For ubuntu

sudo service elasticsearch start


For OS X

brew info elasticsearch


I hope this help you.


Related articlesQuerying JSON data at the command line with 'jq'Pillars of the Rails Monitoring Stack: 2016 EditionDeploy containers on bare metal with Packet and Cloud 66: Demo