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

      

enter image description here

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.

+5


source to share


3 answers


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>

      

  1. Now click again on the green wamp icon in the icon area and then restart the Wamp server.

  2. There is no fifth step, just reload the page. And everything is done.

+5


source


If it's a WAMP server, the problem can be solved with TreadStackSize, but if you see it in production it has more to do with DNS Lookup, DNS propagation and SSL certificates.



Sorry for not being straightforward because you didn't specify the setup configuration.

0


source


I have this problem when I want to migrate my WordPress from host to loclal.i check all the ways. Even I test this code in my wamps ThreadStackSize 8388608 but it is not done !!!!!! Please help me

-1


source







All Articles