can't find localhost problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

can't find localhost problem

Postby doobie » 03. April 2005 16:01

I downloaded xampp and I tried a test php script .ie hello world and put it in the htdocs directory and still no go. I get an error saying connection was refused when attempting to local host.

Has anyone had any problems with this? I have been trying everything and am just about ready to give up.

I purchased Larry Ullman's book PHP and MySQL for dynamic web sites and cannot even start the book because of so many problems I was having getting mysql to run.

I shut down my firewall as well thinking this would work. I do have a router, but I can't see this being the problem as well.

Can someone please provide me with somr steps as to getting going or tips as to what I may be doing wrong?

Thanks you,

Doobie
doobie
 
Posts: 2
Joined: 03. April 2005 15:44

Postby prathapml » 04. April 2005 16:47

This is not a XAMPP issue at all.

First, have you started the Apache at all?
And have you allowed incoming connections for relevant ports on your firewall?

And to help you along this route, we first need to know your own reading of the situation. What exactly do you already know - are you a beginner or intermediate?
prathapml
 
Posts: 87
Joined: 11. March 2005 23:03

Postby doobie » 04. April 2005 22:43

I am a beginner. I thought it was an apache problem. so that is why I posted the problem I was getting.

Thanks
doobie
 
Posts: 2
Joined: 03. April 2005 15:44

Postby Wiedmann » 04. April 2005 23:40

I downloaded xampp and I tried a test php script .ie hello world and put it in the htdocs directory and still no go. I get an error saying connection was refused when attempting to local host.

Can you access http://localhost/ and see the testpage?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby keepsedge » 05. April 2005 03:49

lol,

i have the same book bro.

Okay your not going to be able to acess localhost untill you start the server. Go to start > programs > apachefriends > xampp > xampp_start

this will open a dos windowm and your default browser.
DO NOT CLOSE THE DOS WINDOW

next, in the web browser, type http://localhost,
or
http://127.0.0.1

put your script in a sub directory in the ttpddocs foler. so the url would be:
http://localhost/testing/helo_world_script.php

that should get you started.

</keeper>

O and im new to this too. i started learning php last month.
keepsedge
 
Posts: 33
Joined: 24. December 2004 11:04

Postby thekingofcaseys » 06. April 2005 00:31

Also if your using a firewall make sure port 80 and 3306 are open, after installing apachefriends you should be able to see the XAMPP directory so dont try any other pages until you can see this one
thekingofcaseys
 
Posts: 50
Joined: 27. December 2004 15:38

Postby devellion » 13. April 2005 18:58

Hello,

I can't get it to work either. Apache & MySQL are both running. I have anabled ports 80 and 3306 and still no joy.

I nave a netgear wireless router... Do you think the firewall on that has anything to do with it?
devellion
 
Posts: 2
Joined: 13. April 2005 18:46


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 116 guests