Solved

localhost not working on windows vista home premium

Posted on 2009-03-31
5
1,282 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
[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
  • 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
where is DiskShadow.exe for Vista 4 1,368
Speaker issue 17 435
Vista - error > interactive log on has failed 2 143
Can I access Lync Online from Vista OS PC? 3 248
Hi All Just a quick one for everybody. I was recently looking into setting the default User Account Picture for all my vista clients within the network but on closer inspection the group policy setting only allows you to set the default pictur…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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…

726 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