diff --git a/search/engine/solr/classes/engine.php b/search/engine/solr/classes/engine.php index 50042c3bfab..76818ab0c75 100644 --- a/search/engine/solr/classes/engine.php +++ b/search/engine/solr/classes/engine.php @@ -1192,7 +1192,8 @@ class engine extends \core_search\engine { return $this->curl; } - $this->curl = new \curl(); + // Connection to Solr is allowed to use 'localhost' and other potentially blocked hosts/ports. + $this->curl = new \curl(['ignoresecurity' => true]); $options = array(); // Build the SSL options. Based on pecl-solr and general testing.