Click here to Skip to main content
15,885,874 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello there, I've just recently installed Xampp on my freshly formatted PC (OS is Windows 8.1), got Apache and MySQL running, but when I tried to access localhost via my installed browsers (Firefox and Chrome) it just wouldn't load..PhpMyAdmin is the one I'm familiar with when developing simple database systems using VB.Net and this is really an annoying issue. Anyone care to point out the solution to my problem? Much thanks in advance..
Posted
Comments
KaushalJB 8-Jan-15 5:03am    
How do you access your localhost in URL ? can you type here ?
Boy Balantoy 8-Jan-15 9:31am    
i access it by typing localhost on the address of my browser, it worked before with when i still have windows 8.0, now that i've clean installed 8.1 it doesnt work anymore..
Praveen Kumar Upadhyay 8-Jan-15 5:16am    
If your Apache running? If yes then your page must load in localhost.
Boy Balantoy 8-Jan-15 9:28am    
Yeah, my apache is running..
Praveen Kumar Upadhyay 8-Jan-15 9:32am    
You accepted the solution. Your problem is resolved I guess.

Did you check your hosts file in C:\Windows\System32\drivers\etc.
It should have,
127.0.0.1 localhost
 
Share this answer
 
Comments
Boy Balantoy 8-Jan-15 5:46am    
my host file looks like this :

# 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
Praveen Kumar Upadhyay 8-Jan-15 9:56am    
Just remove # from below line and save it
# 127.0.0.1 localhost
Boy Balantoy 8-Jan-15 10:11am    
I already tried it, no effect.. (sigh!)
Praveen Kumar Upadhyay 8-Jan-15 10:12am    
It's a hard case then. You need to contact someone from the network team or server team who knows well about all these. They need to check manually on your system.
Boy Balantoy 8-Jan-15 10:17am    
geez..too bad there's no such team available to help me in here (my place) coz I work freelance..haha! I guess I still have a lot to learn about all the nuts and bolts of it.. :) thanks though..If by the end of the day this problem is not yet solved I guess I'll do another clean installation of windows 8.1 just to make sure..thanks for accomodating my questions by the way :)
Okay, no hacking was done whatsoever..I just reinstalled a clean installation of windows 8.1 to gt the jb that needs to be donemuch thanks though to all who tried to help me out..especially to Jochen Arndt:)
 
Share this answer
 
If you set it up apache server on port 8080 for XAMPP instalation, just type localhost:8080 and you will get what you need :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900