Christian Heilmann

Giving your app a temporary public URL with VS Code port forwarding

Monday, March 18th, 2024 at 10:47 am

port forwarding in VS code's terminal

VS Code now has port forwarding. If you want to share what you are working on with the world, open folder in terminal, run your server and forward the port. Set it to public and Bob’s your uncle!

This is great for some testing and showing people what you do, but of course should not be used as a hosting alternative. After all, you do make your computer web accessible that way, and you got to be 100% sure your app is safe.

Share on Mastodon (needs instance)

Share on Twitter

My other work: