V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
nocmt

Visual Studio Code 端口管理插件,支持查看端口、进程名称、PID,并可停止进程。

  •  
  •   nocmt · Jan 7 · 1267 views
    This topic created in 120 days ago, the information mentioned may be changed or developed.

    做了个小工具,偶尔懒得输命令行,有兴趣的同学可以看看。

    下载地址: https://marketplace.visualstudio.com/items?itemName=nocmt.xport-manager

    Visual Studio Code 的端口管理插件,支持查看端口、进程名称、PID ,并可停止进程。

    功能:

    • 查看运行端口: 列出当前系统所有 TCP/UDP 监听端口。
    • 显示进程信息: 显示占用端口的进程名称和 PID 。
    • 停止进程: 支持右键点击端口条目停止对应进程。
    • 搜索过滤: 支持按端口号、进程名或 PID 搜索。

    支持系统:

    • Windows
    • macOS
    • Linux

    使用方法:

    点击活动栏上的 "端口管理" 图标。 在视图中查看端口列表。

    点击标题栏的搜索图标进行过滤。 右键点击条目选择 "停止进程"。

    依赖:

    • Windows: 使用 netstat 和 tasklist 。
    • macOS/Linux: 使用 lsof 。请确保系统已安装 lsof 。
    3 replies    2026-01-07 15:36:42 +08:00
    imik
        1
    imik  
       Jan 7   ❤️ 1
    今天看到一个工具 [Github: witr]( https://github.com/pranshuparmar/witr)
    vodmaker
        2
    vodmaker  
       Jan 7
    可以看看我的项目: shex 查看端口 xxx 占用情况 / shex 关闭端口 xxx 正在运行的程序
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1288 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 17:25 · PVG 01:25 · LAX 10:25 · JFK 13:25
    ♥ Do have faith in what you're doing.