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.
-
katalin_2003 NBR Spectre Super Moderator
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. -
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.
-
katalin_2003 NBR Spectre Super Moderator
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..) -
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. -
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!
IIS only veiwable remotely
Discussion in 'Windows OS and Software' started by Thaenatos, Mar 4, 2013.