TOR network on port 80 or 443 - TOR on shared server TOR network on port 80 or 443 - TOR on shared server curl curl

TOR network on port 80 or 443 - TOR on shared server


Your web host's support is probably correct.

As a side note, screen-scraping through TOR is an incredibly antisocial thing to do. It is a large part of the reason why many web sites block access from known TOR exit nodes. Please stop.


I assume you have a local proxy listening on 8118 (Polipo or Privoxy).

Ports 8118 and 9050 are what TOR and Polipo use by default, on localhost (127.0.0.1).
The localhost ports are NOT being blocked by a shared server - 127.0.0.1 is YOUR PC.If they are blocked, you have something on your PC (a firewall) doing that.

Also, you can tell TOR and Polipo (or whatever) to use different ports in their configuration files. Change 8118 to something else in your code above, and also on Polipo/Privoxy.

Is does not matter if the shared server is restricted to 80 and 443. That's all TOR needs to send your stuff out. The TOR exit server unwraps whatever it gets and sees what port it's supposed to go to (the original destination port).

It is possible that the shared server is blocking port 80 and 443 connections to known TOR servers. Open up a browser, set the proxy to SOCKS127.0.0.1 port 9050, and see if you can browse the web. If that doesn't work, you probably have your answer. You can check the TOR documentation. I recall they tell you there how to tell if TOR is being blocked.