Search code examples
visual-studio-2010windows-7iis-7vs-web-application-project

Windows 7 IIS 7.0 - setting an application to run under localhost


If i create a web application inside Visual Studio called MyWebApp, how can I make sure it can be accessed at the following address:

http://localhost/MyWebApp

NO PORTS required

thanks

VS 2010 IIS 7.0 Windows 7


Solution

  • Http is by default run on port tcp/80.

    writing http://address.com/ is the same as http://address.com:80/

    If IIS is configured to use the default port of 80, then you do not need to specify anything.