|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I'm running XP pro (sp2) and I can't get IIS working to load http://127.0.0.1/localstart.asp or http://localhost/localstart.asp. I've tried a lot of different suggestion on forums but still no luck!
I've tried the following: 1) Re-installed IIS as an administrator 2) I can ping 127.0.0.1 and localhost (returns 127.0.0.1) without any problems. 3) If I try http://127.0.0.1 this does not load 4) I get the same problem if I'm connected to the internet or not (connected via a Belkin wireless card and Belkin router & cable modem) 5) Changed the internet options in LAN setting for IE6.0 I have another PC connected to my home network running XP pro, SP2 (connected to the Belkin router via an ethernet connection) and this runs IIS without any problems. Any help or suggestions would be much appreciated! Cheers StuH ![]() |
|
#2
|
||||
|
||||
|
You kinda took the long way around that, reinstalling and all.
It's a shame you weren't familiar with netstat -a or any of the netstat commands to see what's actually listening on open ports before going through all the rest of it. ![]() |
|
#3
|
|||
|
|||
|
Quote:
Hi Balamm, Any suggestions on what I could try to get this working? Thanks StuH |
|
#4
|
|||
|
|||
|
Does a simple asp page like <% response.write "whatever" %> saved as maybe test.asp work if you point your browser to http://localhost/test.asp
localstart.asp has some asp code that uses adsi and other server objects and isn't the simplest test page.
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
|
#5
|
||||
|
||||
|
open a command prompt and type NETSTAT -a
then look through the list to see if IIS is actually running on an open port. You'll get a list that looks like this Active Connections Code:
Proto Local Address Foreign Address State TCP smileygen-c17cf:echo smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:discard smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:daytime smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:qotd smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:chargen smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:ftp smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:smtp smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:nameserver smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:domain smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:finger smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:http smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:81 smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:pop3 smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:epmap smileygen-c17cf:0 LISTENING TCP smileygen-c17cf:https smileygen-c17cf:0 LISTENING The list will likely be longer, I've truncated it just for demo use. this is what you want Code:
TCP smileygen-c17cf:81 smileygen-c17cf:0 LISTENING My IIS runs on port 81 though so you'll be looking for something running on port 80. You can also try port 443 (https) in case either your firewall or ISP is blocking port 80. If you do see IIS running, type NETSTAT -a 5 and then try to connect to localstart.asp again while watching the active connections. You should get some idea if IIS is answering or not. Have you tried a test html page yet? That would show if it's an asp problem or just a configuration issue. just something simple like Code:
<center><h1>CONNECTION TEST<h1/></center> |
|
#6
|
|||
|
|||
|
Quote:
Hi Balamm, Many thanks for the above - I've tried loading both a test html and test asp file and neither work. I've run the netstat -a but can't find an entry for port 80 or port 443. Not completely sure what I'm looking for and how I would know which entry is for IIS? My other PC that is running IIS okay doesn't have port 80 or 443 entries but there are a lot of entries for localhost. Any further assistance would be appreciated. Thanks StuH |
|
#7
|
|||
|
|||
|
Quote:
Hi Doug G, Many thanks for the above - I've tried loading both a test html and test asp file and neither work. Checked that these test pages load okay on my other PC that is running IIS okay. Any further assistance would be appreciated. Thanks StuH |
|
#8
|
||||
|
||||
|
You're sure IIS is started in the internet services manager? No IP restrictions?
It kinda sounds like a SP2 firewall problem if IIS is in fact running. I can't remember if you said you had confirmed that in services and in the task manager? |
|
#9
|
|||
|
|||
|
Quote:
Hi Balamm, Yes, IIS admin is status started in services and the default web site is status running and the IP address is All unassigned. Again - thanks for your help on this. Cheers StuH |
|
#10
|
|||
|
|||
|
If you're running any antivirus script blocking try turning it off. And as balamm said, verify that the www service is running. If it's hung at "starting" that's often caused by a firewall, try setting the www service to manual startup, reboot, and then restart the www service.
|
|
#11
|
|||
|
|||
|
Hi Doug G & Balamm,
I've been turning McAfee security centre off and testing everything (tried stopping and restarting the IIS servive manually) and no luck. The IIS Admin service is running according to services manager, it has status of 'Started'. Any more ideas? Cheers StuH |
![]() |
| Viewing: Dev Shed Forums > System Administration > IIS > Localstart.asp won't load |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|