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?
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.
The port is randomly generated when you create the project. You can change it at Project Property -> Web -> Server section