What is the correct way to completely restrict outside connection in Tomcat 8?

Posted by user221687 on Server Fault See other posts from Server Fault or by user221687
Published on 2014-05-28T14:49:44Z Indexed on 2014/05/28 15:31 UTC
Read the original article Hit count: 133

Filed under:

I'm running Solr on Tomcat 8 on a Windows Server 2008 and I want to complete restrict all access to both except local.

I've tried adding address attributes to <connector/> tags in the server.xml file and a couple of other things, but I noticed in each case the problem described was limiting access to a particular area, whereas I want a complete block. What is the correct (e.g. deepest/highest) place to set this access restriction within Tomcat?

© Server Fault or respective owner

Related posts about tomcat