How do you set tomcat to accept connections from only one specific IP adress?

Bogdan Sheptunov

There is no way. You should filter the IPs out at web server level.

To do that, you should have Tomcat running as an in/out process container, (in other words, not as a standalone), where the web server receives all the requests and redirects some of them to Tomcat.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.