When using WordPress on Heroku, you may not be able to connect Jetpack to your WordPress.com account out of the box. If you experience issues, you will need to customize
httpd.conf to allow for more concurrent connections, and thus allow communication between your server and WordPress.com.
# # Allow more concurrent connections per dyno # ServerLimit 8 MaxClients 8
You can see this commit for an example.