Click here to Skip to main content
15,850,750 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Im a beginner learning ASP.NET.
As a requirement I need to setup IIS on my machine and test http://localhost in browser.

The IIS installation was successfull.
Open IE7 and typed "http://localhost" . It returned "Internet Explorer cannot display the webpage"

Anyone here can help what i have missed out.


1 solution

"http://localhost" is not a website. It is a service and you do not address it directly. Wiki describes it pretty well:[^]

Try creating a quick website project in Visual Studio: when you try to run it, it will access "http://localhost:<port number>/<Project name>/<page name>.aspx"
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900