ASP.NET

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsWeb Design & DevelopmentASP.NET

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old July 16th, 2013, 01:28 PM
xarzu xarzu is offline
Contributing User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: May 2007
Posts: 23 xarzu User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 39 m 29 sec
Reputation Power: 0
How does localhost get its ID number in asp.net?

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?

Reply With Quote
  #2  
Old September 16th, 2013, 04:01 AM
haley01 haley01 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Jun 2013
Posts: 1 haley01 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 12 m 34 sec
Reputation Power: 0
Re:

Hello.....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 127.0.0.1 (ip v4).

Reply With Quote
  #3  
Old September 16th, 2013, 12:56 PM
AjayPrasad AjayPrasad is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Apr 2013
Location: Tustin
Posts: 11 AjayPrasad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 54 m 25 sec
Reputation Power: 0
Facebook
Its your system's DNS which gives the number randomly to the local host as an address, well you can also give your number as with your wish in the properties settings of your project. This will allow you to get open your localhost with the number provided by you.

Cheers!!!

Reply With Quote
  #4  
Old February 29th, 2016, 05:50 AM
alicesmith009 alicesmith009 is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Feb 2016
Location: USA
Posts: 2 alicesmith009 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 20 sec
Reputation Power: 0
Facebook
Lightbulb

Use the following steps:

1. Right click on your Project within the Solution Explorer in Visual Studio.
2. Choose the Web tab on the left-hand side.
3. You should search a section called Servers within the right-hand pane.
4. You should then see the following area that will allow you to either explicitly use a Specific Port or Auto-Assign Port.

By setting those properties you can specify the port values for your localhost server.

Reply With Quote
Closed Thread

Viewing: Tutorialized ForumsWeb Design & DevelopmentASP.NET > How does localhost get its ID number in asp.net?


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap