I recently setup elasticsearch on my server and bought the Xenforo addon. However, the elasticsearch process keeps ending and has to be manually restarted. Can this run on a VPS okay? What suggestions do you have to fix this? The error is below when searching on the forum. Thanks.
XFES\Elasticsearch\ConnectException: cURL error 7: Failed to connect to localhost port 9200: Connection refused in src/addons/XFES/Elasticsearch/Api.php at line 368
- XFES\Elasticsearch\Api->request() in src/addons/XFES/Elasticsearch/Api.php at line 90
- XFES\Elasticsearch\Api->version() in src/addons/XFES/Elasticsearch/Api.php at line 107
- XFES\Elasticsearch\Api->majorVersion() in src/addons/XFES/Search/Source/Elasticsearch.php at line 226
- XFES\Search\Source\Elasticsearch->getDslFromQuery() in src/addons/XFES/Search/Source/Elasticsearch.php at line 145
- XFES\Search\Source\Elasticsearch->search() in src/XF/Search/Search.php at line 164
- XF\Search\Search->search() in src/XF/Repository/Search.php at line 34
- XF\Repository\Search->runSearch() in src/XF/Pub/Controller/Search.php at line 381
- XF\Pub\Controller\Search->runSearch() in src/XF/Pub/Controller/Search.php at line 239
- XF\Pub\Controller\Search->actionMember() in src/XF/Mvc/Dispatcher.php at line 249
- XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
- XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
- XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
- XF\App->run() in src/XF.php at line 328
- XF::runApp() in index.php at line 13