I found my solution, I write here that anyone has this problem, can solve it.
Go to project directory with CLI (like puTTY) and write this command:
setsebool -P httpd_can_network_connect on
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I install ealsticsearch in my project and test it in localhost, it work great... but now i publish my project to a vps and config everything correctly, but when I want to create an index or run an elastic query or index data, show me this message...
Elasticsearch\Common\Exceptions\NoNodesAvailableException
"No alive nodes found in your cluster"
I search in very website and test anyhting but don't change error message, it is necessary to mention all of top request like 'create index', 'get data' or 'index data to an index' work with curl, but don't work from code...
Someone can help me..!?
I found my solution, I write here that anyone has this problem, can solve it.
Go to project directory with CLI (like puTTY) and write this command:
setsebool -P httpd_can_network_connect on
Please or to participate in this conversation.