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

English: Ruby on Rails logo
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.


Komentar

Posting Komentar

terimakasih komentarnya

Postingan populer dari blog ini

EPrT English Proficiency Test Soal - soal

cara memunculkan dan menyembunyikan icon date, time, clock, volume, network, power battery, action center pada taskbar pada Windows 7

Cara Mengurus Perpanjang SIM dan Rincian Biaya di Lumajang.