Open the file jetty.xml located at {ColdFusion-home}/solr/etc for Server install or {Solr-Home}/etc directory for other type of installs.
Last updated on
Apr 27, 2021 06:21:44 AM GMT
Issue
ColdFusion by default allows collections created by the Solr Service to be accessed from any external machine using a URL. This feature allows users to access information about the collections as well as search and index them.
Solution
To disable external access to the Solr collections:
-
-
Look for the following property. There are two occurrences of the property in the jetty.xml file. Locate the uncommented property:
<Set name="port"><SystemProperty name="jetty.port" default="8983"/></Set> -
Add the following property just below the property cited above:
<Set name="Host"><SystemProperty name="jetty.host" default="127.0.0.1"/></Set>
This procedure changes the access to the Solr collections from the browser to localhost only. -
Restart Solr Service.