PDA

View Full Version : Apache



NiTeFiRe
07-29-2005, 07:30 PM
I just started using Apache so I can program in PHP. I can access my files on my computer using http://localhost or its alternatives, but if i give my friends my ip to use on thier computer they get page cannot be displayed. Noob question I know, how do I enable it so it can be accessed by anyone? Thanks.

Digiital
07-29-2005, 08:36 PM
Do you have a firewall that is preventing port 80 to get access to your desktop? If your have a router you will have to port forward 80 to your desktop ip, in most cases it will be something like 192.168.1.xxx

NiTeFiRe
07-29-2005, 09:19 PM
yea router, i thought it was it, thanks

NiTeFiRe
08-05-2005, 03:06 PM
Hmm i enabled port 80 on my router, yet people cannot access my site still, any ideas?

tsehou
08-05-2005, 04:59 PM
You are forwarding the port 80 to your computer's IP and you are giving your friends the external IP, not the internal like 192.168.X.X?

Sometimes also the ISP will block ports like port 80 to stop ppl from setting up servers, so that may be another reason your friends can't access your computer. To overcome this you can change the port for the apache server and then tell your friends to access your computer using that port you set.

NiTeFiRe
08-05-2005, 08:48 PM
hmm got it to work with external, thanks!