• Resolved acurran

    (@acurran)


    Hi,
    I get this error when I try to connect Jetpack:
    Error Details: Jetpack requires your site https://sww.nz to be publicly accessible.

    Searching on here it seems the usual cause for this is lack of access to xmlrpc.php. However this does not seem to be the problem in my case as I can access it at https://sww.nz/xmlrpc.php. The response is “XML-RPC server accepts POST requests only.” but I believe that is the expected response.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi there,

    Sorry about the delay in writing back to you. It looks like even though your site is returning the correct response when visiting the xmlrpc.php file over a browser, Jetpack’s servers gets a 401 error when trying to access the file using cURL. Here’s a command we use to test the connection:

    curl -A ‘Jetpack by WordPress.com’ -d ‘<methodCall><methodName>demo.sayHello</methodName></methodCall>’ https://sww.nz/xmlrpc.php

    Can you please check with your host whether they’re restricting access to any Jetpack IP addresses?. The full IP range is:
    192.0.64.0/18 – as well as some others, but as we’re behind a load balancer our IPs can change at any time.

Viewing 1 replies (of 1 total)
  • The topic ‘Can’t connect Jetpack’ is closed to new replies.