Repository navigation
Lighthouse
Toshon edited this page Jun 20, 2026
·
1 revision
Lighthouse is Perci's port scanning and service conflict detection tool. It shows you what's listening on your machine and helps you resolve conflicts.
- Listening ports — every TCP port with a listening process
- Process details — PID, process name, command path, parent PID
- Conflict detection — when two services want the same port
- Service identification — maps common ports to known services
The Quick Port Check card lets you type a port number and instantly see:
- Whether it's in use
- Which process is listening
- The full command line
- The parent process (useful for launchd/systemd services)
When Lighthouse detects a conflict (two services on the same port), it offers a resolve modal that:
- Shows both processes
- Lets you kill one to free the port
- Explains what each process is
Lighthouse is the interactive companion to the PORTMASTER.md file. While PORTMASTER.md is the single source of truth for port allocations, Lighthouse is the tool you use to check what's actually running and resolve conflicts in real time.
Lighthouse uses lsof (macOS/Linux) to enumerate listening ports:
lsof -iTCP -sTCP:LISTEN -P -nResults are parsed, deduplicated, and displayed in a sortable table. Parent PID resolution uses ps to walk the process tree.