Jump to content

Can't view http://localhost


newboard

Recommended Posts

when i type http://localhost the apache default page would not appear but when i

try http://127.0.0.1 and it said It Works! : don't know what thats mean  ???

 

 

i did how ever get this: "Cannot bind to ... 0.0.0.0:80..." something..

 

and did search the net and they ask me to type this:

 

 

C:\>netstat -ano | find "LISTENING" | find ":80"

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 1028

 

 

i'm using Vista Ultimate btw....hope someone can help

Link to comment
https://forums.phpfreaks.com/topic/111412-cant-view-httplocalhost/
Share on other sites

The first error is probably due to your hosts file.  Make sure there is an entry for localhost.

 

The second error may be caused by trying to start multiple apache services(?).  Your site obviously binds to port 80.  Otherwise, you would not even be able to locate it using 127.0.0.1.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.