Can't open files on using IIS


I've just installed the IIS component, placed my files in C:inetpubwwwroot and tried to access them through . However I am constantly denied due to a 'Page cannot be displayed(IE)Could not establish connection to' errors.

What may cause this?

1 answer Last reply
More about open files
  1. Have you tried using localhost instead of the Yes they are the same but if IIS is not setup correctly it may not resolve Also look in your c:windowssystem32driversetc dir for a file called hosts. See if is in it to resolve to your localhost. It should look like this:

    # Copyright (c) 1993-1999 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:
    # # source server
    # # x client host localhost

    You can also add different ip's and name so you don't have to type out the ip's. Make sure your document home for IIS is setup to look in the right dir.
Ask a new question

Read More

Internet Explorer IIS Components Windows XP