If you use Apache httpd as the front-end, you can check if a firewall exists between Tomcat and Apache. After disabling the firewall on the Tomcat machine in our environment, 503 errors disappeared.
See also this .
The above document also describes other less decisive ways to solve problem 503 when using a firewall.
source share