Use this command to install PortGhost with WinGet:
winget install --id=PortGhost.PortGhost -e
PortGhost is a developer tool designed to identify which processes are using specific network ports. This utility helps developers quickly resolve issues such as "Port 3000 is already in use" errors by revealing the responsible processes and allowing for their termination.
Key Features:
Instant Detection: Quickly identifies processes using specified ports.
Ghost History: Tracks repeat offenders to prevent recurring issues.
Auto-Bust: Automatically terminates known problematic processes.
Dev Port Presets: Customizable quick access buttons for commonly used ports.
Safe Mode: Warns before terminating critical system processes.
System Tray Integration: Minimizes to the tray for easy accessibility.
Audience & Benefit:
Ideal for developers who frequently encounter port conflicts. PortGhost provides a straightforward solution to resolve these issues without needing advanced technical skills or additional tools, enhancing productivity and streamlining development workflows.
PortGhost can be installed via winget, making it easy to integrate into your development environment.
README
๐ป PortGhost
See what haunts your ports. Exorcise the demons.
PortGhost is a Windows desktop app that reveals which processes are haunting your network ports โ perfect for developers tired of "Port 3000 is already in use" errors.
๐ฏ The Problem
You run npm run dev and see:
Error: listen EADDRINUSE: address already in use :::3000
Some ghost from yesterday's coding session is still haunting that port.
๐ป The Solution
PortGhost shines a light on port hauntings:
Enter the port (e.g., 3000)
See the ghost โ Process name, PID, path, start time
Bust the ghost โ One-click process termination
๐ ๏ธ Features
Feature
Description
โก Instant Detection
Sub-second port-to-process resolution
๐ Ghost History
Track repeat offender processes
๐ Auto-Bust
Kill known ghosts automatically
๐ข Dev Port Presets
Quick buttons for common ports โ fully customizable
๐ก๏ธ Safe Mode
Warns before killing system processes
๐งน Ghost Sweep
Scan all preset ports at once and see every haunting at a glance
๐ TCP + UDP
Detect both TCP listeners and UDP bindings
๐ Copy to Clipboard
One-click copy of PID or executable path
๐๏ธ System Tray
Minimizes to tray so it stays out of your way
โจ๏ธ Keyboard Shortcuts
Enter to scan, Ctrl+R to re-scan
๐พ Download
Download the latest self-contained executable from the Releases page. No installation required โ just run PortGhost.exe.
๐ป How It Works
PortGhost uses native Windows APIs to map open TCP ports to the owning process, then lets you terminate it with one click.