Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Configuring a VM with Visual Studio and IIS Express for external access

$
0
0

How do I configure a VM to allow me to VS to use IIS Express and access it from an external address?

I've found lots of articles that explain how to deal with various bits and pieces of this, and not one that explains it from end to end.

I've installed VS on an Azure VM, and created a simple ASPX page. I'm able to access it from HTTP://localhost:xxx.  I'm not able to access it from <name>.cloudapp.net:xxx from the same VM.  And, no surprise, I'm also not able to access it from the external site, which I'm assuming is yet a few more steps. 

I have found the applicationhost.config (in \users\<name>\Documents\IISExpress\config), found the localhost entry and added one for the external name.  (Hopefully done correctly below):

                    <binding protocol="http" bindingInformation ="*:49182:localhost" />
                    <binding protocol="http" bindingInformation ="*:49182:apsw10.cloudapp.net" />

My end goal is to be able to run the website from VS, and hit it from a browser from someplace else.  It seems I'm many steps away from this goal.  Where can I find some documentation that explains what needs to be done?

By the way I asked this question last week and received an answer that explained how to create the new VM and how to install VS.  That wasn't not helpful, since I've already created the VM and already installed VS.  What I want to do is to actually connect (and debug) a website created in VS, from an host outside of the VM.

BTW: here are the links that were not helpful to me (since I've moved past them) and may be useful to others that are looking through this thread:

Using your free Azure VM to host Visual Studio 2012

http://blogs.msdn.com/b/devschool/archive/2013/01/08/using-azure-vm-to-generate-store-apps.aspx

Getting Started with the Windows Azure Tools for Visual Studio

http://msdn.microsoft.com/en-us/library/windowsazure/ff687127.aspx

Please help.

Thanks


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>