Answer the question
In order to leave comments, you need to log in
How to access application in tomcat?
Hello, I installed tomcat 9 on a virtual machine running Ubuntu 16.04 , I
open the address of the virtual machine in the browser, the tomcat main page opens. Through it I try to open:
403 Access Denied
/opt/tomcat/conf/tomcat-users.xml
Answer the question
In order to leave comments, you need to log in
In /opt/tomcat/webapps/manager/META-INF/context.xml find
<Context antiResourceLocking="false" privileged="true" >
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />
</Context>
allow
and add the ip address from which you are connecting
to the attribute .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question