Click to See Complete Forum and Search --> : [RESOLVED] how to access php application from another pc


themoon
03-24-2008, 04:45 AM
Hi all,
Does anyone know how to make my PHP application in my localhost pc accessible from another machine on the same network ?
i have tried to this: http://myip/phpfolder/index.php
but it didn't work. It says not authorized.

i'm using the latest version of wamp server on windows xp OS.

Although other PCs can ping my ip but still cannot access it.
i have also configured allow all in my httpd.cong file in the apache folder and i restarted my pc, but no luck.
any idea ?
:(
Thanks in advance.

TheBearMay
03-24-2008, 06:27 AM
What port do you have Apache configured to listen on? If it's not port 80, you'll need to add it in, ie. for port 8080:
http://myip:8080/phpfolder/index.php

themoon
03-24-2008, 09:10 AM
Hi TheBearMay,
I got it work :)

I just replaced my default local ip address with my local domain name in the network. So, all machines registered in the network are able to access my pc.

Thanks
M