Tomcat Manager Application is running, but not accessible from Applications Manager
From tomcat v8 onwards, remote access to Manager Application is disabled by default. You can enable remote access by adding Applications Manager IP address in the RemoteAddrValve.
Open the context.xml
file located in <CATALINA_HOME>/webapps/manager/META-INF/
In the file, you can find the following keys:
Edit the above keys and include Applications Manager IP address under allow in the following format:
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1|[Applications Manager IP ADDRESS]" />
where 22.214.171.124 is the IP address of Applications Manager machine.
Note : Restart Tomcat server after implementing the above changes.