Solved

cannot resolve localhost, have to use loopback instead

Posted on 2006-06-16
5
577 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

 Watch the Recording: Learning MySQL 5.7

MySQL 5.7 has a lot of new features. If you've dabbled with an older version of MySQL, it is definitely worth learning.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

622 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