Just installed XAMPP; localhost won't load; pings to ::1

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Just installed XAMPP; localhost won't load; pings to ::1

Postby josiest » 11. January 2016 05:34

I thought I'd get a few things out of the way before I go into detail:
1) I'm super new to server stuff and I have no idea what I'm doing
2) I've read and re-read and re-read and followed every single step from these pages and nothing has solved my issue

https://community.apachefriends.org/f/viewtopic.php?p=141428
https://community.apachefriends.org/f/viewtopic.php?f=16&t=48985&start=15
https://community.apachefriends.org/f/viewtopic.php?p=137974
http://answers.microsoft.com/en-us/windows/forum/windows_7-networking/hosts-file-ignored-windows-7-64-bit-firefox/dcad50c8-4242-435b-a87b-26ecd2ff7d97
https://teamtreehouse.com/community/xampp-not-working-tried-hundreds-of-fixes-but-localhost-still-wont-run

From google searching I'm pretty sure the problem has to do with the fact that when I pinglocal host it logs
Code: Select all
Reply from ::1
instead of
Code: Select all
Reply from 127.0.0.1
and to fix that I need to modify %SystemRoot%\System32\drivers\etc\hosts so that
Code: Select all
127.0.0.1 localhost
is definitely in there and not commented and
Code: Select all
::1 localhost
is either not in there or commented out. The thing is the hosts file met these specifications from the start!

While following step to try to solve my problem I renamed my hosts file to old_hosts_file, and made a new file that just reads
Code: Select all
127.0.0.1 localhost
and it still pings to ::1

old_hosts_file looks like this
Code: Select all
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#   127.0.0.1       localhost
#   ::1             localhost
127.0.0.1 localhost
127.0.0.1 www.altavista.com


altavista pinged to 127.0.0.1 but localhost still pinged to ::1.
josiest
 
Posts: 5
Joined: 11. January 2016 04:28
Operating System: Windows 8.1 Pro 64bit

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby Altrea » 11. January 2016 09:35

You didn't describe your problem good.

Is Apache started?
What happens if you request http://127.0.0.1/ ?
What is the full contents of your control panel log?

[FGA] Insufficient debug information - Apache starting issue
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby Nobbie » 11. January 2016 15:17

And what is the relation to Xampp??
Nobbie
 
Posts: 8780
Joined: 09. March 2008 13:04

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby josiest » 11. January 2016 19:16

Apache is running, but what does it mean to request http://127.0.0.1? Is that the same thing as just loading the page on my browser? It does the same thing as http://localhost - it doesn't load:
This webpage is not available


Here's my full control panel log

11:57:26 AM [main] Initializing Control Panel
11:57:26 AM [main] Windows Version: Windows 8 Pro 64-bit
11:57:26 AM [main] XAMPP Version: 5.6.14
11:57:26 AM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
11:57:26 AM [main] You are not running with administrator rights! This will work for
11:57:26 AM [main] most application stuff but whenever you do something with services
11:57:26 AM [main] there will be a security dialogue or things will break! So think
11:57:26 AM [main] about running this application with administrator rights!
11:57:26 AM [main] XAMPP Installation Directory: "c:\xampp\"
11:57:26 AM [main] Checking for prerequisites
11:57:26 AM [main] All prerequisites found
11:57:26 AM [main] Initializing Modules
11:57:26 AM [main] Starting Check-Timer
11:57:26 AM [main] Control Panel Ready
11:57:29 AM [Apache] Attempting to start Apache app...
11:57:29 AM [Apache] Status change detected: running
11:57:37 AM [mysql] Attempting to start MySQL app...
11:57:38 AM [mysql] Status change detected: running
11:57:38 AM [mysql] Attempting to stop MySQL (PID: 73968)
11:57:39 AM [mysql] Status change detected: stopped
11:57:39 AM [mysql] Attempting to start MySQL app...
11:57:40 AM [mysql] Status change detected: running
12:02:17 PM [Apache] Attempting to stop Apache (PID: 76172)
12:02:18 PM [Apache] Status change detected: stopped
12:02:18 PM [mysql] Attempting to stop MySQL (PID: 73712)
12:02:19 PM [mysql] Status change detected: stopped
12:02:21 PM [Apache] Attempting to start Apache app...
12:02:22 PM [Apache] Status change detected: running
12:02:22 PM [mysql] Attempting to start MySQL app...
12:02:23 PM [mysql] Status change detected: running
12:03:26 PM [Apache] Attempting to stop Apache (PID: 73660)
12:03:26 PM [Apache] Attempting to stop Apache (PID: 75828)
12:03:26 PM [mysql] Attempting to stop MySQL (PID: 75864)
12:03:26 PM [Apache] Status change detected: stopped
12:03:26 PM [mysql] Status change detected: stopped
12:03:37 PM [Apache] Attempting to start Apache app...
12:03:38 PM [Apache] Status change detected: running
12:03:38 PM [mysql] Attempting to start MySQL app...
12:03:38 PM [mysql] Status change detected: running
12:18:11 PM [main] Executing "c:\xampp\apache\logs"
5:45:50 PM [Apache] Attempting to stop Apache (PID: 76352)
5:45:50 PM [Apache] Attempting to stop Apache (PID: 76444)
5:45:51 PM [mysql] Attempting to stop MySQL (PID: 76376)
5:45:52 PM [Apache] Status change detected: stopped
5:45:52 PM [mysql] Status change detected: stopped
5:46:08 PM [Apache] Attempting to start Apache app...
5:46:11 PM [Apache] Status change detected: running
5:46:13 PM [mysql] Attempting to start MySQL app...
5:46:15 PM [mysql] Status change detected: running


I'm not sure if it has anything to do with xampp, should I try going somewhere else to ask about this? Where would I go? Stackoverflow?
josiest
 
Posts: 5
Joined: 11. January 2016 04:28
Operating System: Windows 8.1 Pro 64bit

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby Altrea » 11. January 2016 19:20

Did you change anything like the Apache ports?
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby josiest » 11. January 2016 19:41

No, the only port I changed was skype's
josiest
 
Posts: 5
Joined: 11. January 2016 04:28
Operating System: Windows 8.1 Pro 64bit

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby josiest » 11. January 2016 19:43

I've also switched to running the control panel as admin but I still get the same problem
josiest
 
Posts: 5
Joined: 11. January 2016 04:28
Operating System: Windows 8.1 Pro 64bit

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby Altrea » 11. January 2016 20:14

So, Apache is started successful on the default ports, but requesting http://127.0.0.1/ in your browser still don't shows the default XAMPP Dashboard?

Then the only possible reason is that you have a problem with your browser (or a plugin of it) or operating system (network interface, drivers, etc).
You could try a different browser first.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8299
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: Just installed XAMPP; localhost won't load; pings to ::1

Postby josiest » 11. January 2016 23:13

It doesn't work on any browser, I never see the xampp page
Should I try reinstalling my network drivers?
josiest
 
Posts: 5
Joined: 11. January 2016 04:28
Operating System: Windows 8.1 Pro 64bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: DarthSidus and 50 guests