title: rsync and torsocks error: connection refused (111) and error in socket IO (code 10)
body: <p>I wanted to download some files from tor (.onion site) with rsync and torsocks with this command (I'm on Linux):</p>
  
  <pre><code>torsocks rsync rsync://root@snatchvwddns6zto.onion/targets/perceptics.com/
  </code></pre>
  
  <p>and it returns back the error:</p>
  
  <pre><code>1560930992 PERROR torsocks[13894]: socks5 libc connect: Connection refused (in socks5_connect() at socks5.c:202)
  rsync: failed to connect to snatchvwddns6zto.onion (127.42.42.0): Connection refused (111)
  rsync error: error in socket IO (code 10) at clientserver.c(127) [Receiver=3.1.3]
  </code></pre>
  
  <p>And the onion site <code>snatchvwddns6zto.onion/targets/perceptics.com/</code> is fully functional</p>
  
  <p>Already changed the port of the torsocks.conf file to the same port that tor is already on (9051) and still didn't work.
  Even when trying to authenticate:</p>
  
  <pre><code>echo -e 'AUTHENTICATE "passwordhere"\r\nsignal NEWNYM\r\nQUIT' | nc 127.0.0.1 9051
  </code></pre>
  
  <p>it returns:</p>
  
  <pre><code>(UNKNOWN) [127.0.0.1] 9051 (?) : Connection refused
  </code></pre>
  
  <p>torsocks.conf:</p>
  
  <pre><code>TorAddress 127.0.0.1
  TorPort 9150
  </code></pre>
  
  <p>Does someone know how to solve does errors?</p>