I have Tor (bundle) browser and when I open this URL :


I get :

I set Privoxy in my Ubuntu to use Tor programmatically, but when I run my python code:

proxy_support = urllib2.ProxyHandler({"http" : ""})
opener = urllib2.build_opener(proxy_support) 
opener.addheaders = [('User-agent', 'Mozilla/5.0')]
print opener.open('http://www.ipecho.net/plain').read()

I got :

Both IP addresses are exit nodes but why are the exit nodes different even they are using the same connection (I think)?

I ran them many times simultaneously they gave me different IP addresses.

My Privoxy setting (I've change these, others are commented):

forward-socks4a / .

The setting works fine with non-Tor browser.

  • Do you have a system-wide Tor daemon installed and also use Tor Browser? What are the exact settings you made in Privoxy?
    – Jens Kubieziel
    Commented Jul 29, 2015 at 10:52
  • @JensKubieziel I've download tor bundle, not system wide tor daemon. i will add my Privoxy setting to question,thanks.
    – chosipa
    Commented Jul 29, 2015 at 10:54

1 Answer 1


Tor does not use the same exit node for everything. The Tor Browser actually uses a security feature that makes sure it does not share the same circuits with any other program that uses the Tor client.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .