XAMPP Only Accessible from localhost

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
murph2481
Forum Newbie
Posts: 20
Joined: Mon Jun 27, 2005 1:48 pm

XAMPP Only Accessible from localhost

Post by murph2481 »

Alright I have looked high and low for an answer and it doesn't look like XAMPP's site has a very good forum so I thought I would try here.

I have recently installed XAMPP and everything works no problem from the localhost. But when I try to connect to the server from another computer using http://myip/folder/test.php the page cannot connect. These are all in network connections so no router configuration or port forwarding is needed. I installed just apache by itself from apache.org and I can access it but when it is installed by XAMPP i can only get to it if I am coming from localhost.

I have read through the httpd.conf file and it matches the default one from apache.org so I am pretty sure the problem is not there.

Any help or direction would be appreciated.

Thanks,
Dan
yum-jelly
Forum Commoner
Posts: 98
Joined: Sat Oct 29, 2005 9:16 pm

Post by yum-jelly »

Maybe it's a VHOST problem, can you connect to just http://your_ip/ . I mean your document path /folder/test.php may only be assigned to 127.0.0.1 or localhost! Most times this sort of thing results in httpd.conf error! Also try to ping the server on port 80 to see if it is allowing a connection!
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Firewall.... If you have one make sure that port 80 is open.
murph2481
Forum Newbie
Posts: 20
Joined: Mon Jun 27, 2005 1:48 pm

Firewall is open

Post by murph2481 »

Nope the firewall is open...I have even tried disabling it
murph2481
Forum Newbie
Posts: 20
Joined: Mon Jun 27, 2005 1:48 pm

Firewall

Post by murph2481 »

Looks like the enabled something new on my firewall at work, it works fine at home. It works now

Thanks,
Dan
murph2481
Forum Newbie
Posts: 20
Joined: Mon Jun 27, 2005 1:48 pm

Solution

Post by murph2481 »

Looks like the problem was I was using the hostname in the url from another computer. So i was trying to get to http://dan/ which has worked in the past but looks like now i have to use the ip address to get to the webserver. Such as http://192.168.0.2/

:roll: sometimes my brain doesn't work that well
Post Reply