How can I access file in localhost?

Localhost :port in visual studio .net 2008?

  • i am using visual studio .net 2008. i have home.aspx, contactus.aspx, and aboutus.aspx, when i open these files in visual studio .net , then file > view in broswer, i got the following: http://localhost:4989/home.aspx, if i want to change the port to 80, what shall i do? and my main problem is that if visual studio.net 2008 is closed then i cannot access the files like, http://localhost:4989/home.aspx what to do?

  • Answer:

    Install ISS and develop under your c:\wwwroot. IIS is can be added under Add Remove programs / windows components. You'll need your OS CD or the I386 dir available.

Nebrom at Yahoo! Answers Visit the source

Was this solution helpful to you?

Other answers

During testing Visual Studio creates a test web server on the fly when you select a debug or test while developing. Once you have a working app you compile it all and copy the resulting compiled output to a real static webserver. When users go to that webserver which will use port:80 all will work as expected. So the localhost:4989 stuff is VS just making life easy for you while you are developing a site, so you dont have to keep publishing the results of every compile to a real webserver.

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.