We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aff8b7e commit 65dc8e4Copy full SHA for 65dc8e4
app/code/Magento/Elasticsearch/Setup/Validator.php
@@ -37,12 +37,13 @@ public function validate(): array
37
{
38
$errors = [];
39
try {
40
- $client = $this->clientResolver->create();
41
echo "Check elasticsearch8 server up or not with command line\n";
42
shell_exec("curl localhost:9200/");
43
-
+
44
$output = shell_exec('netstat -tuln');
45
echo "<pre>$output</pre>";
46
+ $client = $this->clientResolver->create();
47
if (!$client->testConnection()) {
48
$errors[] = 'Could not validate a connection to Elasticsearch.'
49
. ' Verify that the Elasticsearch host and port are configured correctly.';
0 commit comments