Tomcat – 403 Access Denied Error On Redhat/Cent0s7
Sometimes we want to access tomcat server over the network with Username And Password for doing some work via gui. So it’s pretty simple you just have to define the username and password in tomcat-users.xml file on tomcat 9 server.
This issue will come when you will try to access Manager gui of tomcat 9 Server.This issue will occur when you will try to access with particular ip address like I’m doing in this post.
Check Out : Deploy Application
I have already configured Username and Password for Web based access Tomcat server check out here.
To resolve this issue on tomcat 9, you will have to make some changes in order to achieve this.
Check Out : Change Tomcat Port
Go to the location mention below,
By Default Settings are here in this file,
changed it to,comment the <value>
Now shutdown and restart the server,
Now try to access Manager gui on browser, click on Manager App And Enter your username and password which is defined under tomcat-users.xml file
Now Manager App is accessible,
Youtube link: Tomcat 403 Access Denied