Wget over torsocks under Tails (unable to resolve host address)

Hello

I am trying to torsock ‘wget’ but get the following error message:

root@amnesia:~# torsocks wget --no-parent --recursive --convert-links --page-requisites --no-host-directories --wait=1 https://abcd.com

--2025-07-11 18:30:51--  https://abcd.com/
Resolving abcd.com (abcd.com)... 1752258652 PERROR torsocks[15385]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
failed: Non-recoverable failure in name resolution.
wget: unable to resolve host address ‘abcd.com’
Converted links in 0 files in 0 seconds.
curl --socks5 127.0.0.1:1080 http://check.torproject.orgcurl: (7) Failed to connect to 127.0.0.1 port 1080 after 0 ms: Couldn’t connect to server
amnesia@amnesia:~$ sudo ss -tlnp | grep 9050
[sudo] password for amnesia:     
LISTEN 0      4096       127.0.0.1:9050      0.0.0.0:*    users:(("tor",pid=11745,fd=12))       
LISTEN 0      4096      10.200.1.1:9050      0.0.0.0:*    users:(("tor",pid=11745,fd=15)) 

What am I doing wrong? Thank’s a lot!

I have been using torsocks for ages and this last week I have been getting this same error on different machines.

Haven’t figured out what is wrong yet but it looks like something has changed somewhere.

With the current version of Torsocks installed on Tails 7.7, it works again! :smile:

amnesia@amnesia:~$ torsocks --version
Torsocks 2.5.0

Isn’t ‘wget’ fine for Tails, do we still need to type in torsocks or torify?