Proxy servers resolve requests to themselves

view story

http://stackoverflow.com – I am trying to make some HTTP request using a HTTP proxy server over Tor. So far, I have experimented with Privoxy, Tinyproxy and Polipo. But whenever I make a request through any of these proxy servers, they somehow fetch themselves, and get stuck in a loop. To check if there is any problem with DNS or network, I tried to fetch URLs without proxy and it works fine. I am using Ubuntu 12.04 64bit servers, and using python with requests module to test the setup. Moreover, I am experiencing this problem on a server with two static IPv4 Addresses, on a server with one static IPv4 address, it wo (HowTos)