For completeness, just in case anyone else has this problem, I phoned Xerox support about the error code and they gave me the solution. Having reset the printer back to factory settings to try to solve the HTTPS issue it defaulted the primary network to Ethernet even though the printer was connected wirelessly. I just had to change this.
Home button, Device, Connectivity, Primary Network - select WiFi. Restart
And then it all worked.