# 开发服务器管理：那个端口上运行的是什么

> 不用 lsof 就能知道 3000 端口上运行的是什么：每个 Node、Bun、Deno、Python、Ruby、PHP、Java、Go 和 .NET 开发服务器及其项目文件夹、端口和空闲时间，Docker 容器，以及占满磁盘的开发者缓存。

Canonical: https://bytesweep.app/zh-hans/dev-servers.html
Last updated: 2026-11-10
Language: 简体中文 (zh-hans)

开发者工具

## 3000 端口上运行的是什么？

三个终端之前你启动了一个服务器，现在端口被占用了。Bytesweep 会列出你电脑上的每个开发服务器及其所属项目，并停止你指定的那个。

[免费试用 3 天](https://bytesweep.app/zh-hans/download.html) [购买 · $29.99](https://bytesweep.app/zh-hans/pricing.html)

**Mac 和 Windows。** 可免费试用 3 天。一份授权 $29.99 ，每台电脑只需付一次，即可解锁全部工具。无需订阅，无需账号。

更新日期 2026 年 10 月 11 日

### 每个开发服务器，连同它的项目

Node、Bun、Deno、Python、Ruby、PHP、Java、Go 和.NET 服务器会连同启动它们的项目文件夹、监听的端口和空闲时长一起列出。你可以停止一个，强制停止一个不再监听的，或停止某个项目启动的所有服务器。已安装应用内部的任何进程都不会被当作开发服务器，所以你不会误停 Slack。

### Docker 容器

正在运行的容器及其端口、CPU 和内存，附带重新启动和停止按钮，显示在容器页面和刘海下方的卡片中。

### 吃掉 50 GB 的缓存

Xcode DerivedData、归档、设备支持文件和模拟器；npm、Yarn、pnpm、pip、Cargo、Go、Gradle、Maven 和 CocoaPods 缓存；Playwright 和 Puppeteer 浏览器；Ollama 和 Hugging Face 模型。90 天未动过的缓存会被标出。在 Windows 上还会加上 NuGet、Visual Studio、JetBrains 和 Android Studio，并且只在确有真实项目的地方统计 node_modules、bin 以及 obj 或 target 文件夹。

### Mac 和 Windows 上

|  | Mac | Windows |
| --- | --- | --- |
| 带项目和端口的开发服务器 | 是 | 是 |
| 停止、强制停止、按项目停止 | 是 | 是 |
| Docker 容器 | 是 | 是 |
| Xcode 和模拟器清理 | 是 | — |
| 包管理器缓存 | 是 | 是 |
| 开放端口、ping 和 DNS 工具 | 否 | 是 |

### 问题

#### 这不就是带窗口的 lsof 吗？

它从那里出发，然后把每个进程对应到它的项目文件夹和运行时，算出它空闲了多久，并且不碰应用程序。你不需要记住是哪个终端标签页启动了它。

#### 清除 DerivedData 安全吗？

安全。Xcode 会重新生成它，之后的第一次构建会慢一些。Bytesweep 会把移除的内容保留 7 天。

#### 能 prune Docker 吗？

能，但会先给出明确警告：Docker 自己的 prune 无法撤销，所以 Bytesweep 会在你运行前显示将要移除的内容。

### 在你自己的电脑上看看。

下载 Bytesweep，3 天内免费查看所有内容。一份授权即可解锁开发者工具和下面的其他全部工具。

[免费试用 3 天](https://bytesweep.app/zh-hans/download.html) [购买授权 · $29.99](https://bytesweep.app/zh-hans/pricing.html)

### 同一份授权还包括

开发者工具是 Bytesweep 的 29 款工具之一。一份 $29.99 的授权即可一次性涵盖全部工具，无需订阅。相当于省下约 48 款单独的应用，不必逐一购买、更新，也不必把文件托付给它们。

[查看全部功能](https://bytesweep.app/zh-hans/features.html)

- [**系统监控** 我的电脑在忙什么？](https://bytesweep.app/zh-hans/system-monitor.html)
- [**风扇控制** 风扇为什么这么吵？](https://bytesweep.app/zh-hans/mac-fan-control.html)
- [**刘海面板** 我的 Mac 现在状态如何？](https://bytesweep.app/zh-hans/mac-notch-app.html)
- [**声音与蓝牙** 能只把这个应用的声音调小吗？](https://bytesweep.app/zh-hans/per-app-volume.html)
- [**电池健康与充电上限** 我的电池还能用多久？](https://bytesweep.app/zh-hans/battery-charge-limit.html)
- [**睡眠与唤醒** 我的 Mac 为什么会醒来？](https://bytesweep.app/zh-hans/mac-sleep-wake.html)
- [**存储分析器** 我的空间去哪了？](https://bytesweep.app/zh-hans/mac-disk-space-analyzer.html)
- [**垃圾清理** 哪些东西可以放心删除？](https://bytesweep.app/zh-hans/junk-cleaner.html)
- [**发送到你的设备** 怎样把这个文件发到我的手机上？](https://bytesweep.app/zh-hans/send-files-between-devices.html)
- [**你的手机在大屏幕上** 是什么占满了我的手机？](https://bytesweep.app/zh-hans/mac.html#recent)
- [**换新电脑** 怎样换到我的新 Mac？](https://bytesweep.app/zh-hans/mac.html#recent)
- [**Space Guard** 它能防止磁盘被占满吗？](https://bytesweep.app/zh-hans/mac.html#recent)
- [**需要新 Mac 或电脑吗？** 我的磁盘太小了吗？](https://bytesweep.app/zh-hans/mac.html#recent)
- [**你的服务器** 我的服务器都还好吗？](https://bytesweep.app/zh-hans/mac.html#servers)
- [**每个问题都有解释** 我的服务器出了什么问题？](https://bytesweep.app/zh-hans/mac.html#server-finding)
- [**我的磁盘满了** 磁盘满了，怎么办？](https://bytesweep.app/zh-hans/mac.html#rescue)
- [**移到驱动器** 能把大文件夹放在另一个驱动器上吗？](https://bytesweep.app/zh-hans/mac.html#move-to-drive)
- [**警报** 能在磁盘满之前提醒我吗？](https://bytesweep.app/zh-hans/mac.html#new)
- [**前后对比** 那次更新改了什么？](https://bytesweep.app/zh-hans/mac.html#new)
- [**重复文件查找** 我有多少重复的副本？](https://bytesweep.app/zh-hans/duplicate-file-finder.html)
- [**驱动器目录与健康** 那个文件在哪块硬盘上？](https://bytesweep.app/zh-hans/drive-catalog.html)
- [**资料库和图片搜索** 那个文件在哪里？](https://bytesweep.app/zh-hans/find-files-by-description.html)
- [**整理文件夹** 如何整理我的下载项文件夹？](https://bytesweep.app/zh-hans/organize-folder.html)
- [**应用卸载** 怎样才能彻底删除它？](https://bytesweep.app/zh-hans/app-uninstaller.html)
- [**启动项与安全检查** 登录时会运行什么？](https://bytesweep.app/zh-hans/startup-manager.html)
- [**应用更新** 哪些需要更新了？](https://bytesweep.app/zh-hans/app-updater.html)
- [**文件恢复** 还能找回来吗？](https://bytesweep.app/zh-hans/file-recovery.html)
- [**隐私检查** 谁能看到我的东西？](https://bytesweep.app/zh-hans/privacy-check.html)
