I was working on a website which is a secure site SSL installed accessed using https instead of http. Everything was working fine except the connectivity to Jetpack. I was unable to use the iOS WordPress Application, but other applications like MarsEdit, Windows Live Writer was working fine.
Add the following code to the
/** * Set port to 443 */ $_SERVER['SERVER_PORT'] = 443;
Having trouble with Jetpack or one of its components? Here are a few key steps that can help you solve the problem.
Source: Troubleshooting Tips