Reputation: 694
I want to not allowing calls to solr which are not coming from localhost.I am using jetty.
Thanks, Shashwat
Upvotes: 0
Views: 584
Reputation: 1593
For solr-5.2.1 I did
edit /solr/solr.in.sh
add SOLR_OPTS="$SOLR_OPTS -Djetty.host=localhost"
from http://foswiki.org/Extensions/SolrPlugin#Installation successfully.
Upvotes: 0
Reputation: 33345
this is how you config Jetty to just use localhost
<Call name="addConnector">
<Set name="Host">127.0.0.1</Set>
....
</Call>
Upvotes: 1