OK fixed it, firewall issue, I had my IP address whitelisted in the csf.allow file, but for the first time in 3 years my home broadband ip changed. I was connecting with a dynamic dns name, but then it wouldn't connect out on the custom port I'd configured.

Just added my new home ip into csf.allow and it all works again. Phew. simplest of problems, but a pain to find.