whatsport
v1.0.1
Published
Find what's using your port and kill it easily
Maintainers
Readme
🔍 whatsport
Find what's using your port and kill it easily.
Problem
"Port 3000 is already in use."
You google, then run 3 commands manually. Every. Single. Time.
Solution
npx whatsport 3000Output:
🔍 PID 4512 → node /myapp/server.js
📁 Path: /Users/you/myapp
🧩 Command: node
✅ Suggestion: kill -9 4512
💡 Or run: npx whatsport 3000 --killWith --kill flag:
npx whatsport 3000 --kill🔍 PID 4512 → node /myapp/server.js
📁 Path: /Users/you/myapp
🧩 Command: node
💀 Killing process 4512...
✅ Process 4512 killed successfully!
🎉 Port 3000 is now free!Usage
npx whatsport <port> [--kill|-k]Examples
Check what's using a port:
npx whatsport 3000Kill the process directly:
npx whatsport 3000 --kill
# or
npx whatsport 3000 -kWhy it's hot
Every dev hits this weekly. Now it's one command instead of three.
Installation
No installation needed! Just use npx:
npx whatsport <port>Or install globally:
npm install -g whatsport
whatsport 3000Supported Platforms
- ✅ macOS
- ✅ Linux
- ✅ Windows
Support
If you find this tool helpful, consider supporting the development:
Author
Made with ❤️ by Atish Paul
License
MIT

