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
Solved

localhost not working on windows vista home premium

Posted on 2009-03-31
5
1,281 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
ID: 24031145
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
ID: 24031556
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
ID: 24031650
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
ID: 24031955
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
ID: 24249145
as i didn't get a reply I reinstalled vista again and all is working ok now
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
How to repair Vista SP2 Installations? 6 541
Windows 7 - Windows Media File Editor - Where is it 3 4,725
uninstall windows 10 6 147
Event ID: 5719 / Source: NETLOGON 9 146
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…

840 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