1.4.1 • Published 7 months ago

estport v1.4.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

estport

Hits NPM Version NPM Downloads

A simple CLI tool that scans a specific port and displays the PID and full path of the process that initiated the TCP connection.

How to install

npm install -g estport

How to use

Scan port

estport <PORT=0-65535>

Scan port and display output as json string

estport <PORT=0-65535> --output=json

Etc

Check version

estport --version

Help usage

estport [--help | -h]

Examples

Scan on port 3000

$ estport 3000
#0 [2479] /Applications/Google Chrome.app/{...}/Google Chrome Helper --type=utility {...}
#1 [98169] /opt/homebrew/Cellar/node@22/22.11.0/bin/node /{...}/node_modules/react-scripts/scripts/start.js

on Windows is below:

PS C:\WINDOWS> estport 3000
#0 [2284] C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
#1 [16992] C:\Program Files\nodejs\node.exe

Scan on port 3000 and display output as json string

$ estport 3000 --output=json --pretty
[
  {
    "pid": "2479",
    "command": "/Applications/Google Chrome.app/{...}/Google Chrome Helper --type=utility {...}"
  },
  {
    "pid": "98169",
    "command": "/opt/homebrew/Cellar/node@22/22.11.0/bin/node /{...}/node_modules/react-scripts/scripts/start.js"
  }
]

on Windows is below:

PS C:\WINDOWS> estport 3000 --output=json --pretty
[
  {
    "pid": "2284",
    "command": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe"
  },
  {
    "pid": "16992",
    "command": "C:\\Program Files\\nodejs\\node.exe"
  }
]
1.4.1

7 months ago

1.4.0

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.0

7 months ago

1.1.1

7 months ago

1.1.0

7 months ago

1.0.0

7 months ago

0.1.0

7 months ago