By default manager application [hostname:8080/manager] or host-manager [hostname:8080/host-manager] just can be accessed by localhost on the same machine where tomcat server installed. So, if you try to access it from different machine/remote computer, you will get error notification like this “403 access denied you are not authorized to view this page”. The solution of this problem, you need to change some code from context.xml

Manager

Replace with this code

Host-Manager

Replace with this code

Next step, restart your tomcat server

Finally, access your tomcat manager from your remote host, e.g my tomcat server ip address is 192.168.1.1, so access it on your web browser with: