O'Reilly logo

Cloud Foundry for Developers by David Wu, Rahul Jain, Rick Farmer

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exited with status 4 or status 64

When an application is pushed onto Cloud Foundry and the application fails to respond to the TCP health checks, then the application crashes and these status codes are logged in the application logs. Exit code 4 means that the TCP health check failed as the application is not listening on the port assigned to it by Cloud Foundry. Exit code 64 means the application is bound to the port assigned by Cloud Foundry, but has failed the health check after a certain period of time.

You can look for the message Timed out after 1m0s: health check never passed in the application logs. This message can occur when pushing or restarting an application; it indicates your application did not start in the duration specified ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required