How to setup a remote connection to IIS Express

Please watch the video or read the transcript below.

Introduction

If you are developing a web application the chances are at some stage you will want to test it using other devices or perhaps get feedback from other people.

Access your application from any device

Conveyor is a new Visual Studio extension from Keyoti that allows you to access your application from any device on your network and by using the Conveyor cloud service you can also easily access your application over the Internet.

Conveyor will handle all the configuration settings and tunnel through your firewall opening up access to your application.

Tunnelling firewall to IIS Express

Installing Conveyor

To get started all you need to do is install the Conveyor extension direct from Visual Studio. Open the Extensions and Updates tool and from the online section search for 'Conveyor'. Install the extension and restart Visual Studio following any prompts while doing so.

Downloading from Visual Studio

When you are ready to use Conveyer, load up your application Conveyor should be enabled by default you can check this by going to the tools menu in Visual Studio the icon should be highlighted.

Remote URL

When you run your application you will see a window appear for Conveyor, this will show the remote URL for accessing your app over the network.

You will need to add an inbound firewall rule allowing access to the TCP port given in the Remote URL:

  1. Open Windows 'Start' and type WF.msc.
  2. Click 'Inbound Rules' on the left.
  3. Click 'New Rules' on the right.
  4. Choose 'Port' in the new dialog, then 'Next'.
  5. Select TCP, and enter the port from the Remote URL next to 'Specific local ports' (probably 45455, if it's free), then 'Next'.
  6. Next, and next (you may want to disable 'Public'), give it a name like 'Conveyor: web dev server access enabled'.

Access over the internet

In order to access your application over the Internet you will need to register for an account.

Click the access over Internet button and then sign up now. Once you've registered for an account you can go ahead and login.

Once logged in you will see the internet URL is shown in the conveyor window. This is the URL provided by the Conveyor cloud service, you can now use this URL to provide access to your application over the Internet.

The Conveyor UI

Conclusion

If you have ever tried setting up remote access to your visual studio web development server I'm sure you know it's often time-consuming and error-prone. With Conveyor you can simplify the whole process saving you time and hassle. You can find conveyor by searching the Visual Studio extension marketplace today.