> Markdown version of [/magazine/562-how-to-make-a-local-application-available-on-the-web-with-visual-studio-code](https://www.wearedevelopers.com/magazine/562-how-to-make-a-local-application-available-on-the-web-with-visual-studio-code). Every page supports `.md` or `Accept: text/markdown`. Links point to the HTML versions so they work for humans too. Agent guide: [/agents.md](https://www.wearedevelopers.com/agents.md). --- # How to make a local application available on the web with Visual Studio Code **By:** [Chris Heilmann](https://www.wearedevelopers.com/@chris-heilmann) **Published:** March 14, 2025 Visual Studio Code allows you to make a local application available on the web using a feature called “port forwarding”. All you need to do is follow these steps: https://www.youtube.com/embed/Iy0u9EB_cKQ 1. Open the current folder in Terminal (Ctrl + `) 2. Start your server or run your build process and note down the port number 3. Go to `ports`, add port and request forward 4. Open the context menu and set `visibility` to `public` 5. Copy the URL and you’re live - you can now send this URL to others to help you debug 6. Deleting the port forward also makes the URL inactive This is a an excellent way to temporalily share your app with the world without having to use a tunnel service like ngrok. Just be aware that you are effectively making your local machine available web-wide and thus also vulnerable to attacks. As a quick means to debug an app or show it to others for review, this is excellent but it should not be used as a way to publish your app to users. ## Related Articles - [Getting started with hosting HTML/CSS/JavaScript demos/web sites on GitHub Pages](https://www.wearedevelopers.com/magazine/705-getting-started-with-hosting-html-css-javascript-demos-web-sites-on-github-pages) - [Visual Studio Code Shortcuts for Navigating Your Code](https://www.wearedevelopers.com/magazine/406-visual-studio-code-shortcuts-for-navigating-your-code) - [7 VSCode Extensions That Actually Make You More Efficient (2025 Edition)](https://www.wearedevelopers.com/magazine/587-7-vscode-extensions-that-actually-make-you-more-efficient-2025-edition) - [5 VS Code Shortcuts to Improve Your Markdown](https://www.wearedevelopers.com/magazine/395-5-vs-code-shortcuts-to-improve-your-markdown) ## Related Videos - [Debugging Static Web Apps](https://www.wearedevelopers.com/videos/390-debugging-static-web-apps) - [Local Development Techniques with Kubernetes](https://www.wearedevelopers.com/videos/166-local-development-techniques-with-kubernetes) - [WeAreDevelopers LIVE - Demo Time, Live Coding, End-to-End Testing and more](https://www.wearedevelopers.com/videos/1713-wearedevelopers-live-demo-time-live-coding-end-to-end-testing-and-more) - [Developing locally with Kubernetes - a Guide and Best Practices](https://www.wearedevelopers.com/videos/851-developing-locally-with-kubernetes-a-guide-and-best-practices) ## Related Jobs - [Senior Software Engineer, Client Apps Platform](https://www.wearedevelopers.com/jobs/ext/1773893-senior-software-engineer-client-apps-platform) at **GitHub** - [Software Engineer, React & Angular (Broker Web Platform](https://www.wearedevelopers.com/jobs/ext/1558399-software-engineer-react-angular-broker-web-platform) at **Bitpanda** - [Remote Senior Full-Stack Engineer](https://www.wearedevelopers.com/jobs/ext/643147-remote-senior-full-stack-engineer) at **Edge Impulse** - [Software Engineer](https://www.wearedevelopers.com/jobs/ext/1304673-software-engineer) at **Bitpanda** - [Software Engineer Frontend (all genders welcome) in the field of Water Line Integrity Solutions](https://www.wearedevelopers.com/jobs/ext/127888-software-engineer-frontend-all-genders-welcome-in-the-field-of-water-line-integrity-solutions) at **Rosenxt Group** - [Remote Senior Full-Stack Engineer](https://www.wearedevelopers.com/jobs/ext/644637-remote-senior-full-stack-engineer) at **Edge Impulse**