Jetpack for WordPress – xml_rpc-32700 doesn’t connect to WordPress
I recently started up this blog on an EC2 instance. It uses nginx, php, varnish, mysql and Wordpress. It worked a charm, until I wanted to configure Jetpack for WordPress. The problem I was having was that xml_rpc-32700 wouldn’t connect to WordPress.com.
I did a little research and with the help of Mokah, we fixed the issue.
These are the step we took to have the system correct the problem for us:
First Step
SSH into the instance
Second Step
Access the nginx configuration file to change listening ports using this command:
nano /etc/nginx/conf.d/yoursite.conf
Third Step
Once you are in your configuration file, change ‘listen 8080;’ to ‘listen 80;’.
Fourth Step
Save the file and stop varnish using the following command:
service varnish stop
Fifth Step
Reload nginx using the following command:
service nginx reload
Sixth Step
Now you can connect your Jetpack to WordPress and authorise the connection with your WordPress user details.
Seventh Step
Now that you have connected to Jetpack, you need to change back the port form 80 to 8080 for nginx to function correctly. Use this command to access the configuration file again:
nano /etc/nginx/conf.d/yousite.conf
Eighth Step
Change ‘listen 80;’ back to ‘listen 8080;’, save the file and then close it.
Ninth Step
Now reload nginx using the following command:
service nginx reload
Tenth Step
Finally start varnish back up using the following command:
service varnish start
This should fix the Jetpack problem and will let you connect to WordPress.
Thanks for reading!