Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.
/ node-netutil Public archive

utils to find free ports in a range, checking if a port is open, etc

License

Notifications You must be signed in to change notification settings

c9/node-netutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node.js network utils

provides:

Find the first free port on the server within the given range:

findFreePort(start, end, hostname, callback)

Check whether the given port is open:

isPortOpen(hostname, port, timeout, callback)

Get the hostname of the current server:

getHostName(callback)

About

utils to find free ports in a range, checking if a port is open, etc

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published