Solved

cannot resolve localhost, have to use loopback instead

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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
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…

751 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