Start a new topic
Answered

Is Tomcat Manager Accessible Remotely

Is Tomcat Manager Accessible Remotely


Best Answer

Yes, with a small change to the configuration file, Tomcat Manager can be accessed from a remote machine. For context, connections to Tomcat Manager are restricted to local access only, by default. This means that unless you are on the same machine as the application, you'll see a permissions-related error when attempting to connect. 

To enable remote access

  1. In the editor of your choice, edit the file context.xml. By default, this file should be located in a location similar to /usr/share/tomcat8/webapps/manager/META-INF
  2. Modify the RemoteAddrValve section, either by commenting out the section or by adding a single or range of IP addresses. 
Is Tomcat Manager Accessible Remotely



1 Comment

Answer

Yes, with a small change to the configuration file, Tomcat Manager can be accessed from a remote machine. For context, connections to Tomcat Manager are restricted to local access only, by default. This means that unless you are on the same machine as the application, you'll see a permissions-related error when attempting to connect. 

To enable remote access

  1. In the editor of your choice, edit the file context.xml. By default, this file should be located in a location similar to /usr/share/tomcat8/webapps/manager/META-INF
  2. Modify the RemoteAddrValve section, either by commenting out the section or by adding a single or range of IP addresses. 
Is Tomcat Manager Accessible Remotely



Login to post a comment