tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nar Karapetyan <>
Subject How to restrict access to tomcat manager to specific hosts?
Date Thu, 31 Jul 2008 15:23:49 GMT

I need to allow access to tomcat manager (http://<servername>:<port>/manager/html)
only to the localhost using Tomcat's means.

Inspecting the request for the IP, and blocking a non-localhost ip is not 
accepted as per the requirement I have.

How can I do that?

I have tried to add the following to the catalina.policy file, but it didn't work:

grant codeBase "http://<server ip>:8080/manager/html" {
   permission "", "connect";

Thank you,
Nareg Garabedian

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message