I setup the solr. It works in the web admin. I also setup the nodebb-plugin-solr, but it always reports unable to connect the solr.
It is strange.
I changed as your suggest. The problem was gone.
I meet the problem in v.1.4.5
nginx is used for proxy.
How to solve this problem?