I want to Tor in terminal. This is what I used to do and it was working without any issue:
- running Tor Browser
torsocksbefore the command in terminal
But it is for a while that this is not working. I don't remember if this is happening after some specific change in my system or not. I haven't had any major and noticeable change in it.
Perhaps the following lines can help for knowing the issue:
$ curl ifconfig.me 111.222.333.444 <<< My real IP $ torify curl ifconfig.me 2> /dev/null $ torify curl ifconfig.me [Jan 21 20:55:05] PERROR torsocks: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:185) $ torsocks curl ifconfig.me [Jan 21 20:59:50] ERROR torsocks: Unable to resolve. Status reply: 4 (in socks5_recv_resolve_reply() at socks5.c:666) curl: (6) Could not resolve host: ifconfig.me
While I'm facing this issue, I can easily use Tor Browser with no problem.
Any idea how to solve this issue?