Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Wanting to listen to Pandora from outside the US, I followed the instructions here and changed my /etc/tor/torrc file according to the instructions here.

I learned about pianobar, a console-based Pandora player, and decided to give it a try. However, I kept getting the same error:

(i) Login... Network error: Connection refused.

In ~/.config/pianobar/config I tried each of the following lines, to no avail:

proxy = http://localhost:8118/
control_proxy = http://localhost:8118/
control_proxy = http://localhost:9050/

Same error every time.

share|improve this question

Turns out the solution was simple - just use instead of localhost.

So the config file now looks like:

control_proxy =
user = <my username>
password = <my password>

From looking at strace output, it seems that the problem has something to do with IPv6, but I haven't investigated further.

share|improve this answer

Also make sure you use HTTP not a SOCKS proxy

share|improve this answer
This is really a comment, not an answer to the question. You can always comment on your own posts, and once you have sufficient reputation you will be able to comment on any post. – Mitch Aug 21 '12 at 10:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.