July 22nd, 2013, 07:16 AM
How does localhost get its ID number in asp.net?
I want to get clear 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.
please guide us how these id?s are generated that are alongside the localhost: url?
July 22nd, 2013, 05:37 PM
localhost is a network alias for your computer, not handled or created by anything asp. Your dns resolver knows how to interpret localhost as part of a url, and if you have any server-side use of localhost, then the web server, not your computer, knows how to resolve it.
Again, localhost is a network alias that resolves to the local computer, usually to ip 127.0.0.1 (ip v4).
I've never been able to appreciate the sublime arrogance of folks who feel they were put on earth just to save other folks from themselves .." - Donald Hamilton