If you are using Magento and getting ‘No alive nodes found in your cluster’ error while reindexing
Please make sure you have install Elastic Search into your system.
if you are using mac or ubuntu then please run following command
sudo apt-get install elasticsearch
Then Goto Admin -> Store -> configuration -> catalog -> catalog
then configure as follow