Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Localhost Ports ViewerNew to Visual Studio Code? Get it now.
Localhost Ports Viewer

Localhost Ports Viewer

Danilo Agostinho

|
51 installs
| (0) | Free
View and open services running on localhost directly from VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Localhost Ports Viewer

VS Code Version Version Platform

Effortlessly view and open services running on your localhost directly from the VS Code sidebar.


✨ Features

  • ✅ Detects all open TCP ports listening on localhost
  • 🌐 Displays process names like node, postgres, python, etc.
  • 🚀 One-click button to open http://localhost:<port> in your default browser
  • 💻 Cross-platform support (macOS, Linux, Windows)
  • 🎯 Sleek native sidebar integration with premium UX

📸 Preview

(You can add a GIF or screenshot here)


🧩 How It Works

This extension uses system-level commands:

  • lsof on macOS/Linux
  • netstat on Windows

to detect listening ports, then lists them in the Activity Bar, showing process name and port side-by-side.

Clicking on any item instantly opens that URL in your default browser.


📦 Installation

Search for Localhost Ports Viewer in the VS Code Marketplace
or install via command line:

code --install-extension daniloagostinho.localhost-ports-viewer
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft