Tried to access Tomcat 8 manager from the remote system and got this error message in the browser:
You are not authorized to view this page.
By default the Manager is only accessible from a browser running on the same machine as Tomcat. What should I do to allow the access to Tomcat 8 manager from different host ?
Release : 18.0
Component : CA Endevor Software Change Manager
Create a file $CATALINA_BASE/conf/Catalina/localhost/manager.xml and and specify the rule you want to allow remote access. For example, the following content of manager.xml will allow access from all machines:
<Context privileged="true" antiResourceLocking="false"
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
Note that the allow attribute of the Valve element is a regular expression that matches the IP address of the connecting host.