Solved

IIS-//http/localhost problem

Posted on 2004-11-01
25,190 Views
Last Modified: 2011-08-18
Hi, I'm working in windows 2000 professional, I intalled ISS, but when type //http/localhost nothing happen my browser is frozen. But when type ping localhost -t or ping 127.0.0.1 it work fine.

Please any suggestions
0
Question by:dfhernandez
    17 Comments
     
    LVL 11

    Expert Comment

    by:SweatCoder
    your url syntax looks incorrect. try this: http://localhost/
    0
     

    Author Comment

    by:dfhernandez
    The browser message is The page cannot be displayed. I don't thing that my problem is sintax error
    0
     
    LVL 11

    Expert Comment

    by:SweatCoder
    the url syntax you pasted in your question is definitely wrong. try clicking on the link in my response above and then tell me what message you get.
    0
     

    Author Comment

    by:dfhernandez
    I just type http://localhost

    the message is The page cannot be displayed
    0
     
    LVL 11

    Expert Comment

    by:SweatCoder
    create a text file: c:\inetpub\wwwroot\test.asp

    inside this file, type the following:

    <%
    Response.Write "Asp is working!"
    %>

    then click this link or type in address bar: http://localhost/test.asp

    . . .if you still get the broken page, go into your windows services and ensure that World Wide Web Publishing service and IIS Admin service are both running.
    0
     

    Author Comment

    by:dfhernandez
    I checked Windows services:

    IIS admin service, status started
    World Wide Web Publishing, status started

    I created c:\inetpub\wwwroot\test.asp
    I typed in address bar http://localhost/test.asp

    the same message The page cannot be displayed




    0
     
    LVL 11

    Expert Comment

    by:SweatCoder
    copy/paste the entire contents of the error page and let me see.
    0
     

    Author Comment

    by:dfhernandez
    The page cannot be displayed
    The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings.

    --------------------------------------------------------------------------------

    Please try the following:

    Click the  Refresh button, or try again later.

    If you typed the page address in the Address bar, make sure that it is spelled correctly.

    To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider (ISP).
    If your Network Administrator has enabled it, Microsoft Windows can examine your network and automatically discover network connection settings.
    If you would like Windows to try and discover them,
    click  Detect Network Settings
    Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine what strength security you have installed.
    If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0, PCT 1.0.
    Click the  Back button to try another link.



    Cannot find server or DNS Error
    Internet Explorer  
    0
     
    LVL 9

    Expert Comment

    by:CDCOP
    Can you get to your site by your IP address?
    http://1.2.3.4
    (That is not your IP)
    Do you have any luck when you try: http://127.0.0.1

    If you can, check your hosts file in C:\Winnt\System32\drivers\etc
    Open the hosts file with notepad and make sure you have an entry:
    127.0.0.1       localhost
    0
     

    Author Comment

    by:dfhernandez
    this my host file content:

    # 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:
    #
    #      102.54.94.97     rhino.acme.com          # source server
    #       38.25.63.10     x.acme.com              # x client host

    127.0.0.1       localhost


    You can see the entry exists.
    0
     
    LVL 11

    Expert Comment

    by:SweatCoder
    your IIS may be corrupted. try reinstalling it by removing it first, then install from windows cd.

    IIS getting corrupted is not all that uncommon. it has happened to me probably 3 times in the past 5 years.
    0
     
    LVL 1

    Expert Comment

    by:Sevnn
    Check permissions for your wwroot directory.  Open My Computer, go to inetpub, wwwroot.  Go to properties of the wwwroot directory.  Ensure IUSR_MachineName (the name of your computer) has read/list permissions.
    0
     

    Author Comment

    by:dfhernandez
    SweatCoder:

    I reinstalled IIS, but the problem still here.

    Sevnn:

    I checked and everything is ok
    0
     
    LVL 11

    Expert Comment

    by:SweatCoder
    df, i can spare you five minutes to do a webex if you have high-speed internet and if you're interested. with webex i can see your desktop and control your mouse, and maybe i can see what's going on. if you're interested, email me at:

    ee[AT]builderdash[dotcom].
    0
     

    Author Comment

    by:dfhernandez
    SweatCoder:

    Ok I'll write you
    0
     
    LVL 11

    Accepted Solution

    by:
    sorry dfhernandez, i tried everything i could think of. something odd is going on with your pc. all i can think of is reinstall your entire OS, though i know that's a major pain.

    i'm thinking maybe one of the following *might* be going on:

    - port 80 is closed or disabled on your machine
    - there is some service that iis indirectly relies on that is off or broken
    - something corrupted in your registry or os
    - some kind of spyware or trojan is messing with your http/tcpip/web server

    wish i could be of more help.
    0
     

    Author Comment

    by:dfhernandez
    SweatCoder:

    I found the problem, you got reason - port 80 is closed or disabled on your machine.

    I uninstalled Mcafee (Antivirus, Personal firewall, Privace Service) after that i can access //http/localhost

    Thank you very much for your support.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    First of all, clustering IIS is something you should rarely consider doing. In almost all cases, Microsoft Network Load Balancing (NLB) (http://technet.microsoft.com/en-us/library/cc758834(WS.10).aspx) is a much better solution when you need to p…
    Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
    Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    884 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

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now