@rammcodes: Holy Sh*t... You can now share your localhost with anyone using only VS Code! VS Code has a built-in Ports feature that…
Summary
VS Code has a built-in Ports feature that allows users to expose their localhost to the internet without third-party tools, enabling easy sharing for demos and testing.
View Cached Full Text
Cached at: 07/26/26, 12:14 AM
Holy Sh*t… You can now share your localhost with anyone using only VS Code!
VS Code has a built-in Ports feature that lets you expose your local server to the internet, no need for third-party tools.
Here’s how to use it:
- Open the Ports tab in the terminal panel
- Click Forward a Port
- Enter your local port number (mine was 5173, yours could be 3000, 3001, etc.)
- VS Code will generate a link, right-click and select Make Public
- Copy the link and share it with anyone
Perfect for demos, testing on other devices, or sharing work with clients and teammates :)
Watch the video for a step-by-step demo
Follow me for more amazing AI, Coding & Web Dev insights
Similar Articles
vercel-labs/portless
Portless is a developer tool that replaces port numbers with stable, named .localhost URLs for local development, providing HTTPS with HTTP/2 support and auto-configuration for frameworks like Next.js and Vite.
@pierceboggan: VS Code was already used by millions of developers for agentic coding. However, the editor layout has traditionally bee…
VS Code introduces a new 'Agents' feature that allows developers to work with multiple agents across multiple projects, expanding its capabilities beyond single-task workflows.
@vintcessun: Instead of reinventing editors in the terminal, why not bring VS Code's mature capabilities directly into it? https://github.com/zenbu-labs/terminal-code… terminal-code combines terminal-browser and co…
terminal-code is an open-source tool that integrates VS Code into the terminal, implemented by combining terminal-browser and code-server. It supports SSH and extensions but depends on the Kitty graphics protocol and has limited Windows compatibility.
Show HN: terminal-code – VS Code inside the terminal
terminal-code is a command-line tool that allows running Visual Studio Code inside the terminal with various options for file management and integration.
@github: Start work on your computer, continue your local session anywhere. Remote control for GitHub Copilot CLI and @code sess…
GitHub has made remote control for GitHub Copilot CLI and VS Code sessions generally available, allowing users to start work on one machine and continue seamlessly from another.