Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

cannot resolve localhost, have to use loopback instead

Posted on 2006-06-16
5
Medium Priority
?
581 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Ready to get certified? Check out some courses that help you prepare for third-party exams.
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 look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

783 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