I wrote a demo Web site with PHP /MySql rnnnuing on WinXP plus Apache Server. I can view the site by http://localhost/~imagiq or http://192.168.1.124/~imagiq from the browser of my own machine.
But I found some friends outside can not view it from their machines.
I got the ip address by IPConfig.

I am sharing the internet cable with some other roomates. Is there any
thing wrong? or because of anything like firewall?

    192.168.x.x is a local network loopback--it's only available from within your network.

    Since you're sharing an internet connection, you most likely do not have an external IP for your machine. Someone on your network has an external IP, however, and may map port 80 over to your address. By mapping port 80, you would then have a working HTTPd port.

      Thanks.

      But how to map the port 80?

        holy smolies it's june! lol

        what u need to do is get to ur router. usually something like 192.168.0.1 on most networks... login, and setup port forwarding so that when someone access's your external ip (which is probably a router) and asks for port 80, it forwards on to you 192.168.. machine therefore loading your box as the webserver. to setup port forwarding look at the router manual, or contact admin if that's the situation. - good luck

          9 years later
          Write a Reply...