Solved

localhost not working on windows vista home premium

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

The Service applet starts in Extended Mode by Default, with a taskpad on the left of the services pane. This view mode was introduced in XP. As I find it not very usefull, I like to use the Standard view as default, and without the Console tree. …
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

831 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