S
S
Sergei Chukhan2015-01-30 15:14:40
Debian
Sergei Chukhan, 2015-01-30 15:14:40

How to run NodeJS from different IPs on the same debian machine?

There is a server which has several external IP addresses. There are crawlers on NodeJS, how to run 2 versions of one script, so that when they request certain URLs, they externally work from different IP addresses?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri Shikanov, 2015-01-30
@street

http.request has a localAddress option, which seems to be what you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question