Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

A Port Number Is Not an Identity

说明与用途

Dev Server Activity 帮助 macOS 用户快速识别正在运行的本地服务器,并安全终止它们,避免意外终止进程。

问题

Developers often have multiple local development servers running simultaneously and cannot easily identify which project owns which listening port, leading to uncertainty about whether to stop a process.

结果

The app reduces friction in managing local servers, prevents accidental termination of unrelated processes, and encourages safe shutdown practices.

工作流

  • Scan system for listening sockets owned by current user
  • Group sockets by process and identify likely dev server types (Node.js, Vite, Next.js, Python, Ruby, PHP, Bun, Deno)
  • Display each process with project folder, command line, PID, and listening ports
  • When user selects stop or force stop, re‑read current command line and listening sockets
  • Validate that the process still matches the original scan and owns expected ports
  • If validation passes, send SIGTERM (stop) or SIGKILL (force stop); otherwise refresh list and do nothing

证据

The app looks for likely local development servers owned by the current user, groups listening sockets by process, and shows the process context beside the stop controls.

来源

Immediately before sending either SIGTERM or SIGKILL, Dev Server Activity checks the target again…

来源

  • 记录日期: 2026-09-09T02:00:35.157Z