I'm trying to access a local installation of Apache from the same machine. The machine's name is fred and IP is 192.168.1.100. If I ping fred I get the correct local IP back (192.168.1.100).

When I type http://localhost into a browser, I see the default page. So far so good. But when I type either http://192.168.1.100 (the machine's local IP address) or http://fred (the machine's name), the browser just hangs. Obviously, there's something wrong with my network setup.

Any ideas?

    Some firewall issue perhaps? If you're using any firewall software try turning it off for testing (as long as you're not putting your machine at risk anyway).

      Yes i had the same problems with that, i suspect your on a linksys router, go to your port forwarding page and forward 21-80 and see if it works.

        I am using Linksys router, but that didn't help.

          Do you have any ip restrictions in httpd.conf?

            No IP restrictions or virtual hosts. When I check the Apache error log, I see:

            (OS 121)The semaphore timeout period has expired. : winnt_accept: Asynchronous AcceptEx failed.

            A similar message is in the Windows XP event log.

              Another off-the-wall guess, are you running any antivirus script blocking software? If so try turning it off. Likewise if you're running the XP firewall or other firewall software, try turning it off.

                Excellent suggestion! I had already turned off firewall to no avail, but turning off Internet Worm Protection for Norton Anti Virus did the trick. Now I need to figure out how to configure it so I can have the protection without this problem. Thanks!

                  actually your problem lays in the apache not the router or firewall. if you are wanting to, for example, locally make and test a website you have to tell the apache to listen on that ip address. to access it by "localhost" and get the xampp homepage works because the httpd.conf is already listening on that address (127.0.0.1).

                  add: Listen 192.168.1.100:80
                  enable: virtual hosting
                  enable: name virtual host
                  set up and point to the host.

                  you can name the site whatever you want as long as the system knows where to go.

                  hope this helped

                    Write a Reply...