1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

localhost not working

Discussion in 'PHP' started by Chancey, Aug 11, 2016.

  1. #1
    I just installed xampp on my computer. I started Apache and MySQL, but now it is not working.
    I don't know what is the problem as Xampp is working, but I can't see anything on the localhost.
     

    Attached Files:

    Chancey, Aug 11, 2016 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    Check to see if 127.0.0.1 works. If that doesn't show anything either, xampp isn't working properly. However, if I remember correctly, xampp is a pain. I would suggest wamp instead.
     
    PoPSiCLe, Aug 11, 2016 IP
  3. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #3
    same thing. It is just showing unable to connect.
     
    Chancey, Aug 11, 2016 IP
  4. swissmistery

    swissmistery Greenhorn

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    20
    #4
    Probably it's because you are using a different port than the 80.

    Can you take a screenshot of your XAMPP panel?

    You should see 3 columns "Module", "PID(s)" and "Port(s)", the first row should be "Apache", now look at the "Port(s)". Check which number (or numbers) you see and try to access with:

    localhost:<PortNumber>
    For example if you see "443" in "Port(s)" access it with: localhost:443 (or 127.0.0.1:443).
     
    swissmistery, Aug 11, 2016 IP
  5. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #5
    here is the screenshot of my xampp panel.
    [​IMG]
     

    Attached Files:

    Last edited: Aug 11, 2016
    Chancey, Aug 11, 2016 IP
  6. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #6
    Yeah... that doesn't tell us anything, because it's impossible to read. Remember that a screenshot actually needs to be readable...
     
    PoPSiCLe, Aug 11, 2016 IP
  7. Chancey

    Chancey Well-Known Member

    Messages:
    3,933
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    130
    #7
    Thanks for the help guys. It is running now.
     
    Chancey, Aug 11, 2016 IP