Pages: 12Next
Current Page: 1 of 2
Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Rovalo (---.speed.planet.nl)
Date: January 27, 2008 10:10AM

I am completely new to all of this. I installed WAMP5 on my XP machine in the default dir, all was in accordance with the guide on jlbn.net. The WAMP5 icon is in the taskbar, all services are running and everything seems OK

However, when I choose localhost from the WAMP5 menu, the IE6.0 reports with http:// localhost/ or http:// localhost/index.php -> 'The page cannot be found - HTTP 404 file not found'.

What do I do wrong?



Edited 1 time(s). Last edit at 01/27/2008 11:41AM by Rovalo.

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: dyrer (---.dsl.hol.gr)
Date: January 27, 2008 10:24AM

I have the same problem when type localhost
firefox goes to www.localhost.com

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Rovalo (---.speed.planet.nl)
Date: January 27, 2008 02:52PM

I must have missed a setting?

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: jw_k (---.net-you.de)
Date: January 27, 2008 04:08PM

you need an entry like:

127.0.0.1 localhost

in your hosts file (or just use [127.0.0.1])
( http../127.0.0.1/filename.ext )



Edited 2 time(s). Last edit at 01/27/2008 04:11PM by jw_k.

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Rovalo (---.speed.planet.nl)
Date: January 27, 2008 07:10PM

With 127.0.0.1 being the IP address of the PC in the local network? My case 10.0.0.1 but none works, still I get 'page cannot be found'...

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: groundzero2010 (---.ks.ks.cox.net)
Date: January 27, 2008 07:53PM

Which port are you using? Did you switch to a different port besides 80?

If so you might need to try :

[localhost]

or

[localhost]

or which ever port you changed to.

If you have a router your computer might be setup with DHCP, if thats the case your serving computer might have an IP address like

192.168.2.2 or something along those lines.

On windows system: Run>CMD> ipconig/all

This will show a list of your network settings. Look for something like IP4 Address: That will be your servers ip address.

If both of these instances are true you may have to type in your newly found Ip address and the port after like so....

[192.168.2.2]

---------------------------------------------
Windows NT VISTA 6.0 build 6000
MySQL Version: 5.0.45-community-nt
PHP Version: 5.2.5
Web Server: Apache/2.2.6 (Win32) PHP/5.2.5 mod_aspdotnet/2.2
Web Server to PHP interface: apache2handler
Joomla! Version: Joomla! 1.5.0 Production/Stable


GZero



Edited 1 time(s). Last edit at 01/27/2008 07:54PM by groundzero2010.

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Rovalo (---.amafiltergroup.com)
Date: January 28, 2008 10:31AM

I will try these hints when I'm back home!

Just to answer some of your questions;
- the PC is hooked up to a DSL-router (IP 10.0.0.136) with DHCP
- the PC that has wamp installed is also the PC on which I try to start localhost, the standard index.php file in c:\wamp\www is present
- the PC IP address now is 10.0.0.1 and I have no idea about ports, I never did something with ports that I know of
- I think the PC is also setup with DHCP

How do I find out which port I'm using?

Thanks for the help so far!

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: yfastud (Moderator)
Date: January 28, 2008 02:03PM

You can google for dos command to test port, or easier, just create a blank folder in wamp/www folder, then copy file testport.php in folder wamp/scripts to the blank folderr you've just created then run that file through locahost/browser; you only need the first line and ignore the rest errors

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Rovalo (---.speed.planet.nl)
Date: January 28, 2008 07:26PM

ipconfig tells me the ip addresses of the router and my PC (10.0.0.1)

I have tried;
[localhost] (when I click localhost from the wamp icon)
[localhost]
[localhost]
[localhost]
[10.0.0.1]
[10.0.0.1]
[10.0.0.1]
[10.0.0.1]

Still no result, the browser reports;
or a message 'the page cannot be displayed' with 'Cannot find server or DNS Error'
or a message 'the page cannot be found' with 'HTTP 404 - File not found'

I also created the blank folder with 'testport.php' but I cannot get it to 'run' by typing 'http://localhost/browser' , maybe because my PC/browser has no idea what 'localhost' means?

Please help...

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Rovalo (217.166.17.---)
Date: January 29, 2008 01:20PM

Seems like my problem is caused by another program using the same port 80, on another PC where I installed Wamp, it started to work as soon as I closed Skype.

I did a search on 'Skype' here on the forum and found several threads indicating that Skype indeed is a problem!

I will change the port option in Skype and hopefully that will also solve the problem on the other PC.



Edited 1 time(s). Last edit at 01/29/2008 01:21PM by Rovalo.

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: yfastud (Moderator)
Date: January 29, 2008 01:31PM

Setup skype using different port as follows File -> Options -> Connection -> Uncheck "Use port 80 as an alternative for..."

Restart both wamp and skype then try wamp again

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: dyrer (---.dsl.hol.gr)
Date: January 30, 2008 11:31PM

Do you have NOD32 antivirus? Is yes that's the problem , uninstall it and localhost works

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: thomasbill (---.172.228.172.adsl.dynamic.totbb.net)
Date: January 21, 2010 07:08AM

SKYPE STOPS IT WORKING.

I installed WAMP - Went to local host from menu - page cant be found.

Turned off skype and 'bang'... hello wamp server page, goodbye headache.

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: siva (---.118.22.127.static-ttsl-hyderabad.vsnl.net.in)
Date: January 23, 2010 07:08AM

hello
this is siva sankar reddy
i am completely new to php
i have downloaded xamp5 and wamp and installed as said in setup
when i am running like [localhost]
it asks about username and password wt the problem and solution plz
thank u

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: thomasbill (---.172.231.82.adsl.dynamic.totbb.net)
Date: February 02, 2010 02:14PM

more on the skype issue -

As you might be aware when skype is running wamp wont work. - The localhost address wont be accesable and you will get page not found messaes or simalar.

reason: skype uses port 80 as default and so does wamp. (i think)

solution: open skype - go to: tools>options>advanced>connection - therein you will see a box "use port 80 and 442 as alternatives for incoming connections" make sure that this box IS NOT TICKED.

above that there is another box, with a port number. In there you can enter a number not used for anything else. I decided to use 443.

Restart skype and wamp.

Now they can run at the same time :-)

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: mickyd69 (---.netrun.cytanet.com.cy)
Date: April 21, 2010 06:56PM

Thanks for this.. it was driving me mad trying to figure out why I was always getting the 404 message. Never occured to me to change my Skype settings!
I unchecked the "Use port 80..." box as suggested by 'YFASTUD' and we're up and running!

Nice one!

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: fokkelien (---.upc-a.chello.nl)
Date: May 16, 2010 04:27PM

I too suddenly lost my localhost, and after reading these posts I realised that it was after I installed Skype.
Problem solved, very happy!
Thanks a lot!

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: fokkelien (---.upc-a.chello.nl)
Date: May 16, 2010 04:28PM

I too suddenly lost my localhost, and after reading these posts I realised that it was after I installed Skype.
Problem solved, very happy!
Thanks a lot!

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: Peter3076 (---.dsl.alice.nl)
Date: July 28, 2011 10:53PM

Oke, I do not have skype. The only program uses port 80 is internet explorer for internet. Still I get HTTP 404 error when I try to get phpmyadmin. What is the solution?

Options: ReplyQuote
Re: Localhost 'http://localhost/' cannot be found (HTTP 404)
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: July 28, 2011 11:41PM

internet explorer doesnt use port 80 smiling smiley

it may listen to it. but it doesnt bind to to internally


What colour is your wamp icon before you even try phpmyadmin

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.