none
Window 8 - LocalHost - XAMPP

    Question

  • I almost want to apologize for asking this.  I really tried going through others posts first and it is just not working for me.

    I've got Windows 8 PRO on my laptop.  Just installed latest XAMPP  & with latest control panel.
    I launched control panel and started Apache & mySQL.
    I edited my HOSTS file and now I have these lines:

    ------------
    # localhost name resolution is handled within DNS itself.
    127.0.0.1       localhost
    #     ::1             localhost
    -------------------

    If I try to go to http://localhost/xampp/index.php  OR  http://localhost/xampp/xampp.php  OR even http://localhost/xampp/  it cannot find any of those.  Any help would be appreciated

    --------------------------

    I flushed the DNS and here is my Route Print:

    C:\WINDOWS\SYSTEM32>route print
    ===========================================================================
    Interface List
     14...02 21 00 25 a1 1b ......Microsoft Wi-Fi Direct Virtual Adapter
     13...00 1e 68 7a 78 9f ......Realtek PCIe FE Family Controller
     12...00 21 00 25 a1 1b ......Broadcom 802.11g Network Adapter
      1...........................Software Loopback Interface 1
     16...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
     19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
    ===========================================================================

    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination        Netmask          Gateway       Interface  Metric
              0.0.0.0          0.0.0.0        10.20.5.1      10.20.5.156     20
            10.20.5.0    255.255.255.0         On-link       10.20.5.156    276
          10.20.5.156  255.255.255.255         On-link       10.20.5.156    276
          10.20.5.255  255.255.255.255         On-link       10.20.5.156    276
            127.0.0.0        255.0.0.0         On-link         127.0.0.1    306
            127.0.0.1  255.255.255.255         On-link         127.0.0.1    306
      127.255.255.255  255.255.255.255         On-link         127.0.0.1    306
            224.0.0.0        240.0.0.0         On-link         127.0.0.1    306
            224.0.0.0        240.0.0.0         On-link       10.20.5.156    276
      255.255.255.255  255.255.255.255         On-link         127.0.0.1    306
      255.255.255.255  255.255.255.255         On-link       10.20.5.156    276
    ===========================================================================
    Persistent Routes:
      None

    IPv6 Route Table
    ===========================================================================
    Active Routes:
     If Metric Network Destination      Gateway
      1    306 ::1/128                  On-link
     13    276 fe80::/64                On-link
     13    276 fe80::3d47:6024:373e:8686/128
                                        On-link
      1    306 ff00::/8                 On-link
     13    276 ff00::/8                 On-link
    ===========================================================================
    Persistent Routes:
      None

    Wednesday, November 28, 2012 3:30 AM

Answers

  • Hi,

    Seems the route table does not have anyting wrong. Please check if you can ping to localhost or 127.0.0.1 first. If so, I think your problem is caused the Web server application, make sure the virtual directory is set correctly and 80 port is open.


    Juke Chou
    TechNet Community Support

    Thursday, November 29, 2012 8:03 AM
    Moderator