apify / proxy-chain

Node.js implementation of a proxy server (think Squid) with support for SSL, authentication and upstream proxy chaining.

Home Page:https://www.npmjs.com/package/proxy-chain

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple ports with alternate upstream proxies

necevil opened this issue · comments

Hey guys great project.
I am looking at either running multiple instances of proxy-chain or alternately finding a way to listen on multiple ports (but specify different upstream proxy based on the port a request lands on).

My question is:
Which do you think makes more sense?

I didn't see anything in the docs about setting a single instance to listen on more than one port so I guess if that isn't a possibility then I will fall back and spin multiple instances which may make more sense anyway?

Hi there, currently the proxy server can only listen on a single port. If you need to listen on multiple ports, I'd recommend launching multiple instances.

I'm closing this issue for now, feel free to reopen.