127.0.0.1 page cannot be displayed

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

HI,

I get "The page cannot be displayed" when browsing with 127.0.0.1 or
locahost, IP address of the server will get me the my web page.

IIS is installed and working, in properties all unassigned is selected,
under documents default is first page listed.

No proxy in (IE) browser, hosts file is ok.

I get a reply when i ping 127.0.0.1 and localhost pings and reply from
127.0.0.1

Any help is greatly appreciated.
 
check for another application bound to port 80

shut down IIS (with iisreset /stop) and then in a command window, do

netstat -an | find ":80"

if anything comes back with "LISTENING" at the end of the line, you have
another application listening on port 80. keep shutting down applications
and services until it goes away. note that skype does this by default (it's
caught me out before)

Andy
 
My server IP is 192.168.0.2
netstat results shows
TCP 192.168.0.2:2021 72.5.124.55:80 CLOSE_WAIT
TCP 192.168.0.2:2022 192.18.97.144:80 CLOSE_WAIT
TCP 192.168.0.2:2023 213.160.98.166:80 CLSE_WAIT

Nothing with "LISTENING" at the end

I have no idea what they are is this normal? dose this mean somthing else is
using this port?

We dont have skype
 
Andy Fish said:
check for another application bound to port 80

shut down IIS (with iisreset /stop) and then in a command window, do

netstat -an | find ":80"


Good suggestion. Here's a refinement.


If the OS is XP use

netstat -anob | find ":80"

which gives the PID of the task doing the listening on the far right
and the Imagename the process is running under in square brackets
at the left.

if anything comes back with "LISTENING" at the end of the line, you have another application listening on port 80. keep shutting
down applications and services until it goes away.


The PID from the -o option in particular makes
a more precise procedure possible.

note that skype does this by default (it's caught me out before)


Then the -b switch would show you its executable
if that would be more helpful.


FYI

Robert Aldwinckle
---
 
Try tools>internet options>security>trusted zone and enter 127.0.0.1 in
there... I am wondering if it's a security setting in the intranet or "Local
machine" zones... you don't see the local machine in the normal display but
it's there...

If the trusted zone works for you it's a clue.

Charlie
 
John said:
My server IP is 192.168.0.2
netstat results shows
TCP 192.168.0.2:2021 72.5.124.55:80 CLOSE_WAIT
TCP 192.168.0.2:2022 192.18.97.144:80 CLOSE_WAIT
TCP 192.168.0.2:2023 213.160.98.166:80 CLSE_WAIT

Nothing with "LISTENING" at the end

I have no idea what they are is this normal?


If this was done after you shut down IIS it would be normal I suspect. <eg>
Did you try restarting it? If you don't have at least one task (IIS) listening
it would explain your symptom.

I think that you need to get both iisadmin and w3svc started,
the latter in particular. E.g.

net start w3svc

should start iisadmin automatically if it is not already running.

BTW since your problem seems to be more to do with getting the server
started, this is off topic for this newsgroup. You may get better assistance
from a newsgroup which specializes in IIS or web development.


Good luck

Robert
---
 
i dont have a problem starting my services!

Robert Aldwinckle said:
Good suggestion. Here's a refinement.


If the OS is XP use

netstat -anob | find ":80"

which gives the PID of the task doing the listening on the far right
and the Imagename the process is running under in square brackets
at the left.




The PID from the -o option in particular makes
a more precise procedure possible.




Then the -b switch would show you its executable
if that would be more helpful.


FYI

Robert Aldwinckle
 
all unassigned is selected when i right click on any file under my web site
and select browse it will try to go to 127.0.0.1/the file name i get the page
cannot be displyed, when i select instead of all unassigend my ip address i
can browse..

it seems it dose not know where 127.0.0.1 is suppose to go to.
 
....
BTW since your problem seems to be more to do with getting the server
started, this is off topic for this newsgroup. You may get better assistance
from a newsgroup which specializes in IIS or web development.


....
(in another subthread)

i dont have a problem starting my services!


Then why can't you find one which is listening on the HTTP default port?


---
 
Because i could'nt telnet to port 80 with 127.0.0.1 i checked the registry
and found these keys and when removed i can browse and telnet with 127.0.0.1

Under
HKLM\system\ControlSet002\Services\HTTP\Parameters
key name: LsitenOnlyList
Type: REG_MULTI_SZ
Data: my server ip:80
AND
key name: UrlSegmentMaxLength
Type: REG_DWORD
Data:2048

Does anyone know what they are for and if i need them in the registry?

And thanks everyone for there help...
 
Robert Aldwinckle said:
If the OS is XP use

netstat -anob | find ":80"

which gives the PID of the task doing the listening on the far right
and the Imagename the process is running under in square brackets
at the left.

Thanks Robert - Great tip - I've never realised these options were there
before :)
 
Back
Top