Was running a scraping script on one server using tor, and all worked fine. Moved it to the production server and the script stopped working. Tried running cURL manually, and got the following output:
curl http://www.google.com --socks5 '127.0.0.1:9050'
curl: (7) Can't complete SOCKS5 connection to 0.0.0.0:0. (6)
Relevant info: Tor version 0.2.2.35 | CentOS 6.2 i686
curl --version
curl 7.19.7 (i686-pc-linux-gnu) libcurl/7.19.7 NSS/3.12.7.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
There doesn't seem to be much info on this particular error message that I could find in my searching, just generic bad configurations or tor not running. I am using the same configuration on my production server as the development server where it worked.
In short: yes, using Tor is completely legal. However, if you use Tor for illicit activities, like drug trafficking or viewing explicit and abusive content, then you can face legal scrutiny if your activities are traced back to you. Some countries, such as China and Russia, have also banned the Tor browser and network.
The Tor browser enables people to have access to the dark web. While many associate the dark web with illegal activities, the Tor network also has a number of legitimate uses. These include communicating or browsing in countries implementing internet censorship.
To put it simply, Tor is best for those transmitting sensitive information. A VPN is usually a more effective solution for everyday use as it strikes a great balance between connection speed, convenience, and privacy.
Tor is a network of virtual tunnels that allows you to improve your privacy and security on the Internet. Tor works by sending your traffic through three random servers (also known as relays) in the Tor network. The last relay in the circuit (the “exit relay”) then sends the traffic out onto the public Internet.
The time on my server was 10 hours behind. After fixing it (ntpd already was installed, I just ran command /usr/sbin/ntpdate 0.rhel.pool.ntp.org europe.pool.ntp.org) and restarting Tor, everything works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With