Page 1 of 1

XAMPP Only Accessible from localhost

Posted: Fri Nov 18, 2005 3:50 pm
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

Posted: Sat Nov 19, 2005 9:37 am
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!

Posted: Sat Nov 19, 2005 9:44 am
by Chris Corbyn
Firewall.... If you have one make sure that port 80 is open.

Firewall is open

Posted: Sat Nov 19, 2005 11:28 am
by murph2481
Nope the firewall is open...I have even tried disabling it

Firewall

Posted: Sat Nov 19, 2005 11:35 am
by murph2481
Looks like the enabled something new on my firewall at work, it works fine at home. It works now

Thanks,
Dan

Solution

Posted: Mon Nov 21, 2005 12:17 pm
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