S
S
swcalc2017-01-26 22:23:27
proxy
swcalc, 2017-01-26 22:23:27

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

1 answer(s)
N
nirvimel, 2017-01-26
@swcalc

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 ControlPortthey DataDirectorybe unique). Next, separate instances of Tor are launched for each config, respectively: tor -f torrc, where torrcis the name (with full path) of the config file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question