waiting for localhost for more than 5 minutes unless i disconnect WiFi

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Post Reply
hashem59
Joomla! Apprentice
Joomla! Apprentice
Posts: 9
Joined: Fri Apr 20, 2018 2:10 pm

waiting for localhost for more than 5 minutes unless i disconnect WiFi

Post by hashem59 » Fri Apr 20, 2018 2:22 pm

I downloaded my eCommerce Joomla to work on localhost (xampp and it takes more than 5 minutes to start load the sit

but by accidentally when WiFi is turned off or i disconnect the WiFi connection the site loads normally in seconds i searched and tried to
to uncomment the and change localhost to 127.0.0.1 in httpd.confg to be

ServerName 127.0.0.1:80

and uncommented in C:\Windows\System32\drivers\etc

`127.0.0.1 localhost`

and tried to add some lines too

::1 something.local
::1 something2.local
::1 something3.local
::1 localhost
fe80::1%lo0 localhost


and changed db host in my site configuration.php file to 127.0.0.1 instead of localhost to be

`$host = '127.0.0.1';`

and made

public $sef = '0';
public $sef_rewrite = '0';

and in my.ini file i uncommented bind-address="127.0.0.1" to be

bind-address="127.0.0.1"
#bind-address = ::1 # for ipv6

can not load the site unless i disconnected WiFi and when i connect it again

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 35883
Joined: Sat Apr 05, 2008 9:58 pm

Re: waiting for localhost for more than 5 minutes unless i disconnect WiFi

Post by Webdongle » Tue Apr 24, 2018 9:28 am

Setting database host to 127.0.0.1 when you have changed localhost from that IP to something else ?

I used to use xampp but now I use Wamp it's (imho) better on windows.

Yes localhost is slow on windows 10 ... disconnecting wifi makes little difference.

Try installing Joomla not the 3rd party ecommerce install.

Also see https://stackoverflow.com/a/32921670
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein


Post Reply

Return to “Installation Joomla! 3.x”