Solved

localhost not working on windows vista home premium

Posted on 2009-03-31
5
1,278 Views
Last Modified: 2012-05-06
Hello

i've been using localhost successfully on windows vista home premium for some time now. My laptop was running low on space so i reformatted it and started from scratch by reinstallng the operating system. i've switched IIS back on and the iis start page is in c:/inetpub/wwwroot.

When i type http://localhost/ in IE7 i just get a page cannot be displayed error. if i click the Diagnose Connection Problem link on the page it returns the following:

'localhost is not setup to establish a connection on port World Wide Web Service (HTTP) with this computer'.

What do i ned to do to get localhost working again?

Thanks
0
Comment
Question by:pedley123
  • 3
  • 2
5 Comments
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
It's possible that the answer from this page will the solution to your problem:

http://www.apachefriends.org/f/viewtopic.php?f=16&t=33950
"localhost" is not setup to establish a connection on port..
0
 

Author Comment

by:pedley123
Comment Utility
Lee

Already checked this. this file contains the following:

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

127.0.0.1       localhost
::1             localhost

i don't see any additonal entries in this file.

Any other ideas?
0
 
LVL 59

Expert Comment

by:LeeTutor
Comment Utility
I suppose you've seen this informative tutorial and checked that all steps have been done?

http://learn.iis.net/page.aspx/28/installing-iis-70-on-windows-vista/
0
 

Author Comment

by:pedley123
Comment Utility
I hadn't seen the tutorial before so had a quick read and everything on there has already been done.

I have a second pc in my house with Vista Home Premium. I've set up IIS on that and that works fine. I've even compared the host file and the IIS settings on both machines and they are the same. i cannot understand why my laptop will not let me access hhtp://localhost/ anymore when it did before i reinstalled vista.

Any one any ideas?
0
 

Accepted Solution

by:
pedley123 earned 0 total points
Comment Utility
as i didn't get a reply I reinstalled vista again and all is working ok now
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

The main issue when installing Vista and XP in dual boot is when you have to reinstall any of the two when something fails, let's say a hard disk failure, a lost partition, virus, etc. What commonly happens is that you lose all your hard work config…
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

763 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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now