as far as i remember when the backend times out, CloudFlare shows a screen where you can see the actual IP of the server
You might be thinking of the "Ray ID" that Cloudflare displays on that page, which is just a random request ID that has nothing to do with the origin server.