How does localhost get its ID number in asp.net?

Discussion in 'Third-party applications' started by xarzu, Jul 16, 2013.

  1. How does localhost get its ID number in asp.net?
    I have a question about ASP.NET and running test web sites locally.
    I have written two asp.net web sites for testing purposes. One works and the other one fails. The one that fails does not give any useful diagnostic information.
    Can you tell me how these id’s are generated that are alongside the localhost: url?
    [​IMG]
     
  2. RayH

    RayH DiscountASP.NET Lackey DiscountASP.NET Staff

    I think it just picks a random port. There should be an icon on your lower right hand corner to stop the web server. You might have more than one instance running.
     
  3. FrankC

    FrankC DiscountASP.NET Staff

    The port is randomly generated when you create the project. You can change it at Project Property -> Web -> Server section
     

Share This Page