Remote Elasticsearch connection from local rails -


i have rails app running on remote elasticsearch server. rails console works fine connection elasticsearch remote server when try db:migrate or assets:precompile looks tries connect elasticsearch local server , throw error faraday::connectionfailed: connection refused - connect(2) "localhost" port 9200

if not want use elastic search, remove config settings initializers folder(if have created any).

but, if still want use elastic search , since not how configuration setting looks like, start elastic search in tab in terminal avoid this.


Comments

Popular posts from this blog

java - unable show chart in xls document using jasper reports -

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -