I've installed tor on ubuntu 21.10 I've got
torsocks curl https://api.ipify.org?format=json
torsocks -P 9051 curl https://api.ipify.org?format=json
wit the same result. Checked port 9150(which is for tor browser):
torsocks -P 9150 curl https://api.ipify.org?format=json
returns connection refused.
OS info:
uname -a:
Linux <username> 5.13.0-39-generic #44-Ubuntu SMP Thu Mar 24 15:35:05 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
Tor listens port 9050:
I've got the same error both on raspbian and rock pi x SBC