Issue #165 (Port Forwarding in VS Code)06/18/25
Make Profits from Market Pullbacks – Even When the Market is in Chaos
The market experiences 10% pullbacks regularly, and for many investors, it’s a stressful time. But did you know that you can actually make money during these market corrections?
Mark Sebastian shares his powerful strategies for thriving in a volatile market with his Weekly Profit Cycles system, designed to help you navigate market uncertainty and turn fear into a tool for consistent profits.
|
Instead of watching your portfolio take a hit, you can learn to leverage market pullbacks for potential gains. VSCode.Email readers can use this exclusive link to discover Mark’s proven strategies. Don’t wait for the market to turn in your favor—take control now.
|
|
For a couple of years now VS Code has had built-in port forwarding, which allows you to share locally running services with others remotely. This feature is available through in VS Code via Microsoft dev tunnels, and no extension is required.
To use port forwarding, open your command palette and search for the command
Ports: Focus on Ports View. This opens the "Ports" view of your VS Code panel.
You might be asked to login via GitHub to continue but after you do so you'll see the "Forward a Port" button. Click that and enter the port for the service you want to share.
You can try an example by running the command
npx serve in your terminal in a folder you want to share. This runs a server on port 3000 and assumes you have Node.js installed.
With this in place (or whatever service you want to share), you'll see something like the following in your Ports view:
If you hover over the "Forward Address", you'll see options to copy the URL, open in your browser, or even open in VS Code's in-editor preview window. You can see that the URL is a subdomain of the devtunnels.ms service provided by Microsoft.
You'll also notice that the "Visibility" setting for the forwarded port is private by default.
This requires the same GitHub sign-in to view, but, as shown above, you can right-click the port line and change the visibility to "public" which won't require a sign-in to view.
Now on to this week's hand-picked links!