This site cannot be reached after moving the wordpress site
I used WordPress and later I back up all the data and the database to move it to another computer. I moved all my files to www directory on wamp server . Everything was fine, but I ran into an error,
Database login failed.
SO after googling I changed my username, database name and password in wp-config.php accordingly. Everything was fine, but now it shows
This site can’t be reached
The connection was reset.Try:
Checking the connection
Checking the proxy and the firewall
Running Windows Network Diagnostics
ERR_CONNECTION_RESET
I, again, cannot login, so I tried changing the name to a different Wordpress database and it opens well. So I thought it was not a login to my database, so I create a file and register manually to check the username, password and database name. And it shows that I have registered successfully. So what am I missing here and why I can't access the wordpress site.
source to share
I had the same problem as you. And after a lot of searching, I found that the ThreadStackSize limit on my new computer (where I changed all the WordPress stuff) was not defined (or not enough). So I think your Wordpress data should be big enough to exceed ThreadStackSize .
So, consider that this will solve your problem.
-
Click the green icon in the tray icons (to the right of the taskbar.)
-
Now go to apache> httpd.conf .
-
Now find ThreadStackSize in this file.
- If found, increase the number of return values after ThreadStackSize to a higher value, such as 8388608 .
- Or, if not found, write the following text at the bottom of the file and save it.
`
<IfModule mpm_winnt_module>
ThreadStackSize 8388608
</IfModule>
-
Now click again on the green wamp icon in the icon area and then restart the Wamp server.
-
There is no fifth step, just reload the page. And everything is done.
source to share