The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    IIS only veiwable remotely

    Discussion in 'Windows OS and Software' started by Thaenatos, Mar 4, 2013.

  1. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    As the title states the site works perfect remotely. When trying localhost on the server or using an IP address on another computer on the LAN it gives me a 404 error. Any insight or help would be much appreciated as I dont want to slither back to linux this time.
     
  2. katalin_2003

    katalin_2003 NBR Spectre Super Moderator

    Reputations:
    14,958
    Messages:
    5,671
    Likes Received:
    1,519
    Trophy Points:
    331
    Check your hosts file and comment the ipv6 line:
    ::1 localhost

    leave only

    127.0.0.1 localhost

    EDIT:
    Additionally, you can set "DisabledComponents" = 0x20 under

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\ in regedit

    This will set your server to use IPv4 instead of IPv6.

    If the key doesn't exist, create it.
     
  3. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    localhost on the server and LAN use on other computers still doesnt work. More digging I guess. If I run into a snag Ill just make a VM for web use.
     
  4. katalin_2003

    katalin_2003 NBR Spectre Super Moderator

    Reputations:
    14,958
    Messages:
    5,671
    Likes Received:
    1,519
    Trophy Points:
    331
    Which windows version are you running IIS on?
    If you ping localhost on the server does it resolve to 127.0.0.1 ?
    Check to see if port 80 isn't taken by some other application (Skype etc..)
     
  5. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    Running IIS7 on windows 7.
    Pining 127.0.0.1 works as intended.
    Im not running any 3rd party applications other then dyndns updater.

    The error I get locally is a 404 which tells me its having an issue finding the directory, yet I am able to to view the page perfectly outside the network. Im going to review the ports on the server and see if I find anything.
     
  6. Thaenatos

    Thaenatos Zero Cool

    Reputations:
    1,581
    Messages:
    5,346
    Likes Received:
    126
    Trophy Points:
    231
    FIXED!

    The bindings using the URL and local IP caused the issue. Changed to "*" for IP and no hostname and it works like a charm both locally and remotely! Turned off port 80 on the firewall as I dont need it on the web and Im golden!