For Programmers: Free Programming Magazines  


Home > Archive > ASP > June 2005 > Re: IIS 5.1 - Localhost won't work! Please help!!!









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: IIS 5.1 - Localhost won't work! Please help!!!
David Wang [Msft]

2005-06-04, 8:55 am

If you are running XPSP2, then the Windows firewall would be blocking the
web server from being accessed. If you are running any other 3rd party
Personal Security Software (like Norton, McAfee, etc), they would also have
firewalls that block web server access.

Please do the following from the command console (Start button --> Run...
menu item --> type "cmd" [without quotes] and then hit [enter]) -- you
should now have a commandline window that you can type in commands , and
report what you get for the following three things:

1.
NET START W3SVC

--> If this succeeds, it says that IIS is running and listening on port 80
for HTTP requests

2.
Look in %windir%\System32\LogFiles\W3SVC1 for any log files that indicate
signs of the request you made in the web browser.

--> If there isn't any requests, then you know IIS is running but not
getting any requests, so something is blocking it in the middle.

3.
Turn off IE's "Show Friendly HTTP Errors" option and report the actual error
page content.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"Debbie" <britbitz@hotmail.com> wrote in message
news:kv6dnTZSY7qx1T3fRVn-oA@adelphia.com...
Did both suggestions (simple "Hello World!" html file and turned off script
blocking) - made no difference whatsoever. Got exactly the same "Page
cannot be displayed" error.


"Kristofer Gafvert [MVP]" <kgafvert@NEWSilopia.com> wrote in message
news:xn0e31x98m85yrh00f@news.microsoft.com...[color=darkred]
> Hello,
>
> Do you have any firewall that could be blocking your requests?
>
> Please try to use a simple HTML page when testing, so we know that it has
> nothing to do with ASP.
>
>
> --
> Regards,
> Kristofer Gafvert (IIS MVP)
> www.gafvert.info - My Articles and help
> www.ilopia.com
>
>
> Debbie wrote:
>
> localhost
> someone
> pages



John Blessing

2005-06-04, 3:55 pm


>
>


Sometimes 127.0.0.1 works when localhost doesn't.

--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.room-booking-software.com - Schedule rooms & equipment bookings
for your meeting/class over the web.
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook


Debbie

2005-06-07, 3:56 pm

Actually, I don't understand that because I have another PC running Windows
XP (firewalled) with SP2 and it has IIS installed as well as McAfee Firewall
and I'm having no trouble at all running localhost on that machine (and
never have). Due to time constraints, had to format the PC that wouldn't
run localhost and reinstall Windows XP from scratch and IIS is okay right
now. Will store you post for future reference, however, because I suspect
I'll probably need to refer to it at some future point (things have a habit
of going wrong for me in relation to computers!).

Thanks to everyone who posted - your help was appreciated!

Regards - Debbie


"David Wang [Msft]" <someone@online.microsoft.com> wrote in message
news:eB08zEOaFHA.2980@TK2MSFTNGP10.phx.gbl...
> If you are running XPSP2, then the Windows firewall would be blocking the
> web server from being accessed. If you are running any other 3rd party
> Personal Security Software (like Norton, McAfee, etc), they would also
> have
> firewalls that block web server access.
>
> Please do the following from the command console (Start button --> Run...
> menu item --> type "cmd" [without quotes] and then hit [enter]) -- you
> should now have a commandline window that you can type in commands , and
> report what you get for the following three things:
>
> 1.
> NET START W3SVC
>
> --> If this succeeds, it says that IIS is running and listening on port 80
> for HTTP requests
>
> 2.
> Look in %windir%\System32\LogFiles\W3SVC1 for any log files that indicate
> signs of the request you made in the web browser.
>
> --> If there isn't any requests, then you know IIS is running but not
> getting any requests, so something is blocking it in the middle.
>
> 3.
> Turn off IE's "Show Friendly HTTP Errors" option and report the actual
> error
> page content.
>
> --
> //David
> IIS
> http://blogs.msdn.com/David.Wang
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
> //
> "Debbie" <britbitz@hotmail.com> wrote in message
> news:kv6dnTZSY7qx1T3fRVn-oA@adelphia.com...
> Did both suggestions (simple "Hello World!" html file and turned off
> script
> blocking) - made no difference whatsoever. Got exactly the same "Page
> cannot be displayed" error.
>
>
> "Kristofer Gafvert [MVP]" <kgafvert@NEWSilopia.com> wrote in message
> news:xn0e31x98m85yrh00f@news.microsoft.com...
>
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com