Solr using with Yii Framework and getting this error:
SolrClient::query() [<a href='solrclient.query'>solrclient.query</a>]: Solr HTTP Error:
'Couldn't resolve host name'
I have defined hostname: localhost:81 port: 8983
Tried many ways on using localhost but not getting right solution.
Whenever there’s a separate ‘port’ field, don’t put the port in the ‘hostname’ field.