run a tcp server to listen to a port range

Ryan Schmidt ryandesign at macports.org
Tue Mar 13 14:12:40 PDT 2012


On Mar 13, 2012, at 16:10, michael sparacio wrote:

> Is there a recommended port that will listen to a range of tcp ports? I am playing with netcat but it seems it can only listen to a single port at a time. I'd like to open hundreds or even thousands of tcp ports for firewall screens testing.

nodejs is JavaScript environment with which it's very easy to create network servers that do whatever you want them to. Perhaps that will help you.

http://nodejs.org/

Yes, you can install nodejs with MacPorts.

sudo port install nodejs




More information about the macports-users mailing list