Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
| Search | Today's Posts | Mark Forums Read
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 10th, 2006, 03:45 PM
Authorized User
Join Date: Apr 2005
Location: , , .
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Default can't connect to localhost


I have installed wamp5 on my laptop so I can develop php pages with mysql.
I have started the wamp5 which give you a semi circle and three quarters of the icon is shaded yellow - this is supposed to mean that apache is running. I then type in http://localhost in the address bar and I get the "page cannot be displayed" error.

This is weird because wamp says apache is running ok!

Is there any other setting that may affect the connection?

If this is any help, I also have a sneaky suspicion that because I have visual studio.net installed on my laptop there may be a conflict with IIS? I have not developed any sites with visual studio yet but could there be a conflict here? Thing is, I am not sure what to look for or change?


Old October 16th, 2006, 01:29 PM
Registered User
Join Date: Sep 2004
Location: , , .
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts


You may like to have a look at what services are running on your computer.

Open Control Pannel > Administrative tools > Services

If IIS is running try stopping it and then restart wamp5. Then have another go at opening http://localhost


Similar Threads
Thread Thread Starter Forum Replies Last Post
connect to other localhost komputer qiux PHP How-To 5 February 1st, 2008 12:43 AM
Unable to connect to Visual Studio's Localhost Web davidc BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 2 May 1st, 2007 12:01 PM
Can't connect to mySql server using localhost RobinR MySQL 3 January 30th, 2006 10:07 PM
CAN'T CONNECT TO LOCALHOST.... lamada BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 3 December 13th, 2005 06:01 PM
do not want to use localhost p2ptolu Classic ASP Databases 1 September 15th, 2005 06:03 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.