Groups | Blog | Home
all groups > inetserver iis > august 2008 >

inetserver iis : Cannot browse localhost web sites


Mark H
1/22/2004 10:57:44 PM
I'm running XP Pro (IIS 5.1) (SP1). Cannot browse any
localhost websites including default. Also cannot
restart IIS from IIS mmc. IE simply hangs for awhile
before "server not found" message. I tried reinstalling
Mark H
1/22/2004 11:18:21 PM
Nothing. Nothing in IIS logs either.

[quoted text, click to view]
Simon
1/23/2004 1:46:19 AM
So are you trying to view the site from the local system?
and can you view it from another computer?

[quoted text, click to view]
Mark H
1/23/2004 1:56:34 PM
I get "The page cannot be found" immediately. I checked
my hosts file to see if the default entry exists and it
does.

Mark
[quoted text, click to view]
anonymous NO[at]SPAM discussions.microsoft.com
1/23/2004 1:58:08 PM
Local system... No, I cannot view it from another
computer either (using computername).

Thanks,
Mark
[quoted text, click to view]
jcochran.nospam NO[at]SPAM naplesgov.com
1/23/2004 3:27:17 PM
[quoted text, click to view]

Start with:

Control Panel -> Internet Options -> Connections -> LAN Settings ->
Uncheck everything.

Then post actual error messages if this doesn't work, along with
specifics about what you've tried.

cove3
1/23/2004 5:26:05 PM
Do you have IIS set to a port other than 80 due to ISP blocking of Port 80?. If you do, you have to http://localhost:Port# in IE 6.0 to see that IIS is up & running your web.
I could never figure out why IIS help and http://localhost wouldn't work unless my web was set to port 80 instead of 79 until I discovered above.
I still can't however, get an external computer to display my home page....they get a web connection error 502. They can ping me, though, and tracert myweb in Dos prompt shows them getting to my web. Very strange.

Ken Schaefer
1/23/2004 6:04:20 PM
Anything in the Windows Event Log?

Cheers
Ken


[quoted text, click to view]
: I'm running XP Pro (IIS 5.1) (SP1). Cannot browse any
: localhost websites including default. Also cannot
: restart IIS from IIS mmc. IE simply hangs for awhile
: before "server not found" message. I tried reinstalling
: IIS to no avail. Any suggestions?

Mark H
1/23/2004 7:29:22 PM
Thanks Ron. I am using port 80. I have found that if I use my DHCP
assigned ip address, things work. Also, pinging localhost works just
fine. This is driving me crazy!

Mark



*** Sent via Developersdex http://www.developersdex.com ***
Ken Schaefer
1/23/2004 9:10:16 PM
a) Are the IISAdmin service and the World Wide Web Publishing service
started?

b) What if you use http://127.0.0.1 rather than http://localhost/

Cheers
Ken


[quoted text, click to view]
: Nothing. Nothing in IIS logs either.
:
: >-----Original Message-----
: >Anything in the Windows Event Log?
: >
: >Cheers
: >Ken
: >
: >
[quoted text, click to view]
: >: I'm running XP Pro (IIS 5.1) (SP1). Cannot browse any
: >: localhost websites including default. Also cannot
: >: restart IIS from IIS mmc. IE simply hangs for awhile
: >: before "server not found" message. I tried
: reinstalling
: >: IIS to no avail. Any suggestions?
: >
: >
: >.
: >

Ken Schaefer
1/24/2004 3:34:41 PM
Hi,

localhost is mapped to 127.0.0.1 in your hosts file. A ping request would be
answered by Windows TCP/IP stack somewhere, not IIS>

So, for example, if you configured IIS to listen on your DHCP assigned
address (rather than "all unassigned addresses"), then a browser would not
be able to connect to 127.0.0.1 -or- http://localhost (which maps to
127.0.0.1) because IIS is not configured to respond on 127.0.0.1, however a
ping would work because that is answered by something other than IIS.

Check what IP address(es) IIS is configured to answer on.

Cheers
Ken

[quoted text, click to view]
: Thanks Ron. I am using port 80. I have found that if I use my DHCP
: assigned ip address, things work. Also, pinging localhost works just
: fine. This is driving me crazy!
:
: Mark
:
:
:
: *** Sent via Developersdex http://www.developersdex.com ***
: Don't just participate in USENET...get rewarded for it!

jcochran.nospam NO[at]SPAM naplesgov.com
1/26/2004 4:50:59 PM
On Fri, 23 Jan 2004 13:56:34 -0800, "Mark H"
[quoted text, click to view]

Have you tried:

Cannot find "localhost":
Control Panel -> Internet Options -> Connections -> LAN Settings ->
Uncheck everything.

Jeff


[quoted text, click to view]
scotty
1/27/2004 6:41:06 AM
hi Jeff,
i'm having the same problem, i've followed your instructions
and this is the error i'm getting when trying to open http://localhost

HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services

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

Technical Information (for support personnel)


Background:
This error can occur if the Web server is busy and cannot process your request due to heavy traffic.


More information:
Microsoft Support


tdevere NO[at]SPAM online.microsoft.com
1/27/2004 11:25:50 AM
Howdy Mark,

Let's start with the basics:

When did this start happening?
Did it ever work?
What changed?

What kind of network configuration do you have? Details please :)

Can you ping:
localhost - what's the ip that comes back?
netbios - what's the ip
FQDN

How many web sites do you have?

Are you using host headers?

Let's start with this, and see where we end up.

Thank you,

Tony DeVere [MSFT]
Microsoft IIS
Newsgroup Support
tdevere@online.microsoft.com

"Please do not send email directly to this alias. This is our online
account name for newsgroup participation only."

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
Mark H
1/28/2004 8:42:55 AM
Tony,
I responded to a couple of subthreads yesterday, but for=20
some reason it didn't get posted. Anyway, here's the=20
scoop...

Last time I used local IIS was a few months ago, so I'm=20
not exactly sure when this broke. I'm running VS.Net for=20
an ASP.Net project on this machine and it couldn't create=20
the project using localhost. That's when I found the=20
problem. I'm running a small network w/ Win2K domain,=20
DHCP, DNS, and WINS server on the same machine. All net=20
services seem to be running fine. I can ping all=20
machines using their NetBIOS names and DHCP addresses. =20
When I ping my localhost, NetBIOS name, or DHCP-assigned=20
address, I get replies with "Reply ::1: time <1ms". =20
Seems odd that the address gets returned that way. If I=20
ping 127.0.0.1, I get replies back with the full=20
address. I have a couple of web sites on this=20
workstation. I'm not using host headers.

Additionally, I have the following information from=20
WFetch when I try to browse localhost...

[quoted text, click to view]
started....
WWWConnect::Close("localhost","80")\n
closed source port: 1236\r\n
WWWConnect::Connect("localhost","80")\n
0x2749 (A request to send or receive data was disallowed=20
because the socket is not connected and (when sending on=20
a datagram socket using a sendto call)
no address was supplied.): connect()
IP =3D "127.0.0.1:80"\n
source port: 1239\r\n
REQUEST: **************\n
OPTIONS /default.htm HTTP/1.1\r\n
Host: localhost\r\n
Accept: */*\r\n
\r\n
RESPONSE: **************\n
HTTP/1.1 200 OK\r\n
Server: Microsoft-IIS/5.1\r\n
Date: Wed, 28 Jan 2004 16:37:04 GMT\r\n
MS-Author-Via: MS-FP/4.0,DAV\r\n
Content-Length: 0\r\n
Accept-Ranges: bytes\r\n
DASL: <DAV:sql>\r\n
DAV: 1, 2\r\n
Public: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST,=20
COPY, MOVE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK,=20
SEARCH\r\n
Allow: OPTIONS, TRACE, GET, HEAD, COPY, PROPFIND, SEARCH,=20
LOCK, UNLOCK\r\n
Cache-Control: private\r\n
\r\n
WWWConnect::Close("localhost","80")\n
closed source port: 1239\r\n
finished.
..
[quoted text, click to view]

Here's some oddities...
1) Note that after the socket error above, it seems to=20
find the site (IE just hangs). If I set the "socket=20
reuse" check box in WFetch, and try again, it finds the=20
site w/out the error.

2) When I browse localhost with IE, it finally returns=20
with page unavailable. If I then click on the "Detect=20
Network Settings" link, it finds the site after a short=20
pause. From that point on in the session, I can find the=20
site. However, if I quit from the session, I'm back to=20
square 1. This seems consistent with what WFetch is=20
returning.


Hope this HELP!s.

Mark
[quoted text, click to view]
tdevere NO[at]SPAM online.microsoft.com
1/28/2004 9:07:49 AM
262635 Error Message: HTTP 403.9 - Access Forbidden: Too Many Users Are
http://support.microsoft.com/?id=262635



Thank you,

Tony DeVere [MSFT]
Microsoft IIS
Newsgroup Support
tdevere@online.microsoft.com

"Please do not send email directly to this alias. This is our online
account name for newsgroup participation only."

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
Ravichandran J.V.
2/3/2004 7:59:38 AM
Have you checked for Proxy settings in your computer? Go into Tools >
Internet Options and deselect Proxy settings.

with regards,


J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
tdevere NO[at]SPAM online.microsoft.com
2/3/2004 9:26:37 AM
I can't reproduce what you are seeing...

Can you please post the network behavior to your OS level newsgroup?

Also, can you find anything in the event logs that are showing a problem
with the network?


Thank you,

Tony DeVere [MSFT]
Microsoft IIS
Newsgroup Support
tdevere@online.microsoft.com

"Please do not send email directly to this alias. This is our online
account name for newsgroup participation only."

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.
Prawin Malyala
8/20/2008 11:56:05 PM
I had a similar problem wherei i couldn't able to browse my local websites and the error msg i got in system logs is:
"This computer was not able to set up a secure session with a domain controller in domain BECKTON due to the following:
There are currently no logon servers available to service the logon request.
This may lead to authentication problems. Make sure that this computer is connected to the network. "

I could able to solve this problem by restarting DHCP Client service.

Hope this helps somebody.

From http://www.developmentnow.com/g/59_2004_1_0_0_272523/Cannot-browse-localhost-web-sites.htm

Posted via DevelopmentNow.com Groups
AddThis Social Bookmark Button