mod_jk error "cping/cpong after connecting to the backend server failed (errno=24)"

Solution Verified - Updated -

Issue

  • The following error in mod_jk logging:
[error] ajp_connect_to_endpoint::jk_ajp_common.c (992): (node22) cping/cpong after connecting to the backend server failed (errno=24)
[error] ajp_send_request::jk_ajp_common.c (1585): (node22) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=24)
  • 503 responses in the httpd access log.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Enterprise Web Server (EWS)
  • Apache httpd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.