Accessing Visual Studio 2010’s built in web server remotely

So as you’re developing / debugging a Visual Studio 2010 web app, you may want to access the local web server from a remote machine. Visual Studio will be accessible locally using an address like: http://localhost:5524, but if you try from another machine on your network using the ip address ie:, you won’t be able to reach the solution.

The easiest way to get this working:
1. Download SPI Port Forward.
2. Install SPI Port Forward.
3. The config is a little backwards in my opinion, so after running SPI Port Forward, enter the remote port you want to use in the  “Local Port” text box (ie: 8080), and in the “Remote Host” enter “localhost” (usually) and in the “Remote Port” enter your local Visual Studio debugging port (in my example, 5524.
4. Click Activate

SPI Port Forward Setup

You should now be able to access your Visual Studio web app (provided it’s open and running) using http://(your machine ip)/(the port you choose above) ie:

Happy Testing!

Note: If you have any additional local or network firewalls, they may interfere with the setup and you’ll have additional steps…
Accessing Visual Studio 2010’s built in web server remotely

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s