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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content