@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
@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.
@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.
Show HN: Port Zero – how I learned to stop worrying and love PORT=0
Port Zero is a free, open-source tool that assigns stable local domains to dev servers instead of port numbers, eliminating port conflicts and enabling easy multi-branch development and cloud tunneling.
@svpino: If you want to self-host your dev environment and don't worry about the cloud, check out Coder. Open-source. Free to us…
Coder is an open-source tool for self-hosting development environments, enabling developers to avoid cloud dependencies and control their agentic coding.
VS Code's new "Agents window" lets you use local AI models. Still requires an Internet connection and a Github Copilot plan (because we can't have nice things)
VS Code's new 'Agents window' allows developers to use local AI models, but still requires an Internet connection and a GitHub Copilot subscription.