Step 10 of 10 Securing Solr administrative console

Last updated on
30 April 2025

We're now going to setup security on the first server hosting the Solr engine. This is optional but recommended.

By default the Solr engine administrative console on the first server does not ship with any kind of port protection. This means that anyone who knows the Solr engine administrative console URL can search the database without authenticating. For this reason it is recommended to secure your first server ports by using iptables or a dedicated firewall.

Make sure that you close (deny) the port 8983 to the outside world. And make sure you open (allow) port 8983 to your second server. One way of doing this is using Uncomplicated Fire Wall (UFW). To configure UFW follow the instructions on this page http://ubuntuforums.org/showthread.php?t=823741

Test your configuration by visiting http://10.1.2.3:8983/solr/admin/
(Note: In the above URL replace “10.1.2.3” with your first server IP address. This IP address is provided by your host provider.)

Do another test by visiting http://10.1.2.3:8983/solr/admin/ from an external computer that should not have access.

You have successfully setup security on the first server hosting the Solr engine.

That's it you have completed the essential steps to install Solr search engine on Drupal 6.x.

Enjoy

Help improve this page

Page status: Not set

You can: