Configuring Privoxy to use TOR

In these days of censorship concerns, increasing numbers of people are using TOR as a proxy and thus, increasing numbers of people are configuring their browsers wrong and going to the TOR check page only to realize that for all their proxy configurations, they either cannot see the page at all, or they see the result that they are not using TOR.

You set your HTTP Proxy to 8118, Socks5 Proxy to 9050 and imagined that it would work, but it doesn’t. Here’s what could be going wrong.

The proxy server is refusing connections


Firefox is configured to use a proxy server that is refusing connections.

This means that while you installed TOR, you did not install Privoxy. The port 8118 points to the Privoxy proxy. If you haven’t installed it, there is nothing to receive the connections. On Ubuntu, go

sudo apt-get install privoxy

On Windows… go to to download a suitable release. Install.

Which brings you to the next problem.

Sorry. You are not using TOR

You have checked everything. TOR is running. The onion is green. You have installed privoxy. It is running. Your proxy setting is 8118. You are able to access sites. BUT YOU ARE NOT USING TOR.

This is because privoxy is a proxy that:

Privoxy is a non-caching web proxy with advanced filtering capabilities for enhancing privacy, modifying web page data and HTTP headers, controlling access, and removing ads and other obnoxious Internet junk.

It does NOT use TOR unless you tell it to. You can do this by manually editing the configuration file, which on Ubuntu is located at /etc/privoxy/config (will update with the windows location soon, but should be easily found in the program files for privoxy.

Open it as root. Do a ‘find text’ for “localhost:9050”. The line will say:

# forward-socks5 / localhost:9050 .

Uncomment it by deleting the “#” in the beginning. Save and close file.

Now point your browser to

You should see a bold green heading:

Congratulations. Your browser is configured to use TOR.


Note: If you do not see this text, please troubleshoot further. Without this text, your browsing is NOT anonymous.







4 responses to “Configuring Privoxy to use TOR”

  1. Noxalus Avatar

    That didn’t work for me… When I uncomment this line “# forward-socks5 / localhost:9050 .”, I always have 503 error…

    1. Vidyut Avatar

      What do your logs say?

  2. Stillfinder Avatar

    you need to change
    forward-socks5 / localhost:9050 .
    forward-socks5 / localhost:9051 .

  3. Anil Munjuluri Avatar
    Anil Munjuluri

    I am a student in a institution which uses proxy server with authentication to connect to internet. I want to download torrents. I have installed Tor browser along with privoxy. I have changed connection seetings in tor to connect to internet. i Have pointed tor browser to and it displayed the message “Congratulations ………..”. Now, i,m assuming that i am successfully connected through tor. Now i have opened “config.txt” in privoxy installed directory and made wrote the following
    listen-address localhost:8118
    forward-socks5t / .
    But when start privoxy, it shows
    Fatal error: can’t bind to may be another Privoxy or ……….
    I can’t understand what the problem is. Also Please tell me the connection settings for utorrent

Leave a Reply

Your email address will not be published. Required fields are marked *