Answer the question
In order to leave comments, you need to log in
How to allow access to host manager in Apache Tomcat from another computer?
CentOS and apache tomcate 8 installed on VirtalBox, trial page works fine. When trying to enter the host manager, it returns an error 403, it does not ask for a login and password before that. Where is it configured?
UPD: When I try to log in, a message appears
Answer the question
In order to leave comments, you need to log in
$CATALINA_BASE/conf/tomcat-users.xml
You need to set the role in the
file :
<tomcat-users>
<role rolename="admin"/>
<role rolename="admin-gui"/>
<role rolename="manager"/>
<role rolename="manager-gui"/>
<user username="name" password="pwd" roles="admin,admin-gui,manager,manager-gui"/>
</tomcat-users>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question