Solved

cannot resolve localhost, have to use loopback instead

Posted on 2006-06-16
5
574 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
5 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.

773 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