After Magento 2 migration, I had this error :
"This site can’t be reached"
In Below Page showing this type message
like:
- Admin
- Cart
- Customer/account/create
- Contact
- login pagees
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
Sign up to join this communityAfter Magento 2 migration, I had this error :
"This site can’t be reached"
In Below Page showing this type message
like:
- Admin
- Cart
- Customer/account/create
- Contact
- login pagees
According to your image, This is not a Magento error but in client side, check this : https://whatsabyte.com/windows/err_connection_refused/
Update :
If some pages works try this :
Check the folders permission
Clean the cache
Clean the content of pub/static
without the .htaccess then deploy the static content : php bin/magento setup:static-content:deploy -f
You should try to run this command:
chmod -R 777 var pub generated
php bin/magento c:c
Does it work?
this is the issue of https and http settings which are made magento1 admin. You can remove that from database and check.
I have seen updates of your problem and recommend you try this:
chmod -R 777 var pub generated
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
I think it should work now. Please tell me if it helps!
For fixing this issue need to go these steps:
1. Firstly please check the files and folder permissions
2. Make sure in core_config table your base url path update or not
3. .htaccess file is exist or not
If you are following steps then now need to hit given below command.
chmod -R 777 var pub generated
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
chmod -R 777 var pub generated