A powerful Raycast extension for monitoring and managing open ports on your system. Quickly view all active TCP ports, identify which processes are using them, and terminate processes with a single action. Platform support for Windows.



Win + Space by default)The fastest way to kill a process by port number:
| Action | Windows Shortcut | Description |
|---|---|---|
| Kill Process | Ctrl+Shift+K | Terminate the process using the selected port |
| Refresh List | Ctrl+Shift+R | Update the port list with current system state |
| Copy Process Name | - | Copy the process name to clipboard |
| Copy Address | - | Copy the port address to clipboard |
| Copy PID | - | Copy the process ID to clipboard |
This extension provides two commands:
Command: Manage Open Ports
Description: Opens the full port management interface showing all listening ports
Command: Kill Port <port_number>
Arguments: Port number (1-65535)
Description: Directly terminates the process using the specified port
Examples:
kill port 3000 - Kills process using port 3000kill port 8080 - Kills process using port 8080kill port 5432 - Kills process using port 5432Safety Features:
The extension automatically detects your operating system and uses the appropriate system commands:
netstat -ano -p tcp: Lists all TCP connections and their associated PIDstasklist /fo csv: Retrieves process names for the identified PIDstaskkill /PID <pid> /F: Terminates processes by their PID# Clone the repository
git clone <repository-url>
cd ports
# Install dependencies
npm install
# Start development mode
npm run dev
npm run dev - Start development modenpm run build - Build the extensionnpm run lint - Run ESLintnpm run fix-lint - Fix ESLint issuesnpm run publish - Publish to Raycast Storeports/
├── src/
│ ├── index.tsx # Main port management interface
│ └── kill-port.tsx # Direct port killing command
├── lib/
│ ├── fetchPorts.ts # Cross-platform port detection logic
│ └── killProcess.ts # Cross-platform process termination logic
├── metadata/
│ ├── screenshot1.png # Main interface screenshot
│ └── screenshot2.png # Action panel screenshot
├── assets/
│ └── extension.png # Extension icon
└── package.json # Extension configuration
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
dleteliers_
If you encounter any issues or have questions:
Note: This extension may require elevated privileges to terminate processes. Make sure to run Raycast with appropriate permissions when using the kill process functionality.
Lists all open TCP/UDP ports on your system, allows you to view details, and terminate the process occupying each port with a single action. Helps free up ports quickly when developing apps or debugging software.
Terminate the process using a specific port number. Simply enter the port number and the process will be terminated instantly.
Manage Open Ports: Interactive list view with full port managementKill Port: Lightning-fast direct port termination for power users