Answer the question
In order to leave comments, you need to log in
Is it possible to run tor on multiple ports at the same time?
In the code, I send requests through socks5, I want to run 3 threads at the same time, the question is - is it possible to run 3 different tor processes on different ports and get 3 different ip at the same time? + as = )
By default, the port is 9050 and the process is only 1, no more copies can be launched, referring directly to tor.
Answer the question
In order to leave comments, you need to log in
Can. To do this, several copies of the config are created torrc
, different addresses are written in each config SocksPort
(it is also necessary that ControlPort
they DataDirectory
be unique). Next, separate instances of Tor are launched for each config, respectively: tor -f torrc
, where torrc
is the name (with full path) of the config file.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question