How to fix cURL error 28: Connection timed out after X milliseconds

Are you seeing the cURL error 28: Connection timed out error on your WordPress site? [...]