Link to home
Start Free TrialLog in
Avatar of pedley123
pedley123

asked on

localhost not working on windows vista home premium

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
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

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..
Avatar of pedley123
pedley123

ASKER

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?
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/
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?
ASKER CERTIFIED SOLUTION
Avatar of pedley123
pedley123

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial