1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2013
    Rep Power

    Smile 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?
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Rep Power
    What id's?

    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 (ip v4).
    Doug G
    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

IMN logo majestic logo threadwatch logo seochat tools logo