Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have solr setup with Jetty on my Ubuntu server.

On any computer now, I can type my_ip:8983/solr/ and the page will show upp to anybody.

How can I disable this so that only I can access that port and the solr admin?


share|improve this question
up vote 1 down vote accepted

You best option is to to configure a firewall rule to prevent connections based on source. You can restrict what ips update the index in the config or enable authentication but neither of thes options give you what you are asking.

share|improve this answer

IP address restriction is not an acceptable solution, one would like to manage Solr from a dynamic IP which is allocated by my ISP.

It can be done via tomcat.

In etc/webdefault.xml add this inside the <web-app> block:

      <web-resource-name>Solr Administration</web-resource-name>

  <realm-name>Solr Administration</realm-name>

tried it and it works. thanks Chris Adams

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.