Restrict access to the Apache Solr admin interface external

sudo iptables -A INPUT -p tcp -s localhost –dport 8983 -j ACCEPT
sudo iptables -A INPUT -p tcp –dport 8983 -j DROP

sudo service iptables save

Leave a comment