July 22nd, 2013, 06: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, 04: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).
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi