How to block public access to tomcat and solr interfaces
-
21-12-2019 - |
Question
I'm using Solr in my rails app and I would like to know how to disable access completely to the public web interface for tomcat and solr. I'm using CentOS.
i.e., the following urls should yield timeouts:
http://mydomain.com:8080/ # Tomcat7
http://mydomain.com/solr/* # Solr
I just don't see a reason to have them publicly accessible.
Solution
Your question is more related to the Tomcat server.
You can find a particular solution here Tomcat localhost access only.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow