A fast, safe, GUI-first utility to identify which process holds a specific port and free that port by terminating the owning process (gracefully, then forcefully if needed). Supports multiple ports, batch actions, and minimal friction across macOS, Windows, and Linux.
- 🔍 Port Scanning: Search for processes using specific ports
- 💀 Process Termination: Graceful or force kill processes
- 🔄 Batch Operations: Terminate multiple processes at once
- 🎯 Source Detection: Identify Docker containers, systemd services, launchd services, and brew services
- 🛡️ Safety First: Confirmation dialogs and permission handling
- 🌍 Cross-Platform: Works on macOS, Windows, and Linux
- 🎨 Modern UI: Clean, responsive interface built with shadcn/ui + Tailwind CSS
Download the latest .dmg
file from Releases and drag to Applications.
Download the .exe
or .msi
installer from Releases.
Download the .AppImage
from Releases and make it executable:
chmod +x zporter.AppImage
./zporter.AppImage
- Clone the repository:
git clone https://github.com/hasanyalmanbas/zporter.git
cd zporter
- Install dependencies:
npm install
- Run in development mode:
npm run tauri:dev
# Development build
npm run tauri:dev
# Production build
npm run tauri:build
- Search Ports: Enter port numbers (comma-separated) in the search box
- View Results: See all processes using the specified ports
- Terminate Processes:
- Click the orange button for graceful termination
- Click the red button for force termination
- Filter Options: Toggle "Only listening" to show only listening sockets
The application provides a GUI interface. For CLI alternatives, consider using:
lsof -i :PORT
netstat -tulpn | grep :PORT
ss -tulpn | grep :PORT
- Frontend: React + TypeScript + Mantine UI
- Backend: Rust + Tauri + sysinfo
- Packaging: Tauri bundler for cross-platform distribution
- Port Scanner: Uses system tools (
lsof
,netstat
) to find port usage - Process Manager: Leverages
sysinfo
crate for process information and termination - Source Detector: Heuristics-based detection of service sources
- UI Framework: shadcn/ui components with Tailwind CSS styling
We welcome contributions! Please see our Contributing Guide for details.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature
- Make your changes and test thoroughly
- Submit a pull request
- ✅ Accept single or multiple ports as input
- ✅ Display processes currently listening on ports
- ✅ Provide per-row termination actions
- ✅ Support batch termination
- ✅ Handle permission errors gracefully
- ✅ Detect and label common service sources
- ✅ Cross-platform compatibility
- ✅ Fast UI updates (<200ms)
- ✅ Small installer size (<50MB)
- ✅ Robust error handling
Port not found: Make sure the port is actually in use. Check with lsof -i :PORT
Permission denied: Some processes require administrator privileges. The app will prompt for elevation.
Process won't terminate: Try force termination, or the process may be protected by the system.
- macOS: 12.0+
- Windows: 10/11
- Linux: glibc-based distributions
This project is licensed under the MIT License - see the LICENSE file for details.
- Tauri for the amazing desktop app framework
- shadcn/ui for the beautiful UI components
- Tailwind CSS for styling
- sysinfo for system information
- Lucide Icons for the icon set
- 📧 Email: hasanyalmanbas@gmail.com
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
Made with ❤️ using Tauri and React