?
Solved

cannot resolve localhost, have to use loopback instead

Posted on 2006-06-16
5
Medium Priority
?
583 Views
Last Modified: 2008-01-09
I am trying to test my asp.net 2.0 website through IIS on a local development machine (Windows XP, SP2).  I cannot view my website using http://localhost/appname but I can using the loopback, http://127.0.0.1/appname.  I have checked that IIS is configured to use port 80 as the default port.  I tried to disable my Symantec firewall but it did not make a difference.  I can ping localhost and it resolves correctly.   Any suggestions?  Thanks.
0
Comment
Question by:malawto
  • 2
3 Comments
 
LVL 30

Expert Comment

by:callrs
ID: 16923736
Check your hosts file (google for this: hosts file xp)
It should have this entry:

127.0.0.1  localhost
0
 

Author Comment

by:malawto
ID: 16923787
I do have that entry in the hosts file.
0
 

Accepted Solution

by:
malawto earned 0 total points
ID: 16924093
It turns out there was dial-up software from AT&T Worldnet that was causing the problem.  An uninstall of that program restored the proper functionality.  Thanks your help, callrs.

I'm considering this closed and will be petitioning for a refund.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
An ASP.NET Web Form User Control is not newly introduced in ASP.NET. In fact, it was an old technology yet still playing a role to generate web content, especially when we want to use it to have a better and easy way to control part of the web conte…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses
Course of the Month3 days, 23 hours left to enroll

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question