@boly38/check-port
v1.0.0
Published
a tool that check a given TCP port is accepting connection
Downloads
63
Readme
check-port
This project is inspired from famous repository
usage to check a port
setup
(need clone)
# setup
npm install
run sample
# launch sample
node samples/basic.js
to use this library
import checkPort from "@boly38/check-port"
accept port on localhost:44204
Example to set up a port listener
npm i http
node.exe -e "require('http').createServer((req, res) => res.end('Hello World')).listen(44204, () => console.log('Listening on port 44204'))"