-
-
Notifications
You must be signed in to change notification settings - Fork 996
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
magento.test’s server IP address could not be found. #1153
Comments
I got this fixed by editing my /etc/hosts file. I put my IP address and magento.test on one in the hosts file. thanks |
Hi @jcroftpradco, It's bizarre because the one-liner should do this. In the future, you can use the |
This solution only works if you are running the browser on the same device as the docker host.
where aaa.bbb.ccc.ddd is replaced by the IP address of your host running docker, and
|
You saved my life! |
I have added in hosts file but still it is not working for me. my hosts file looks like below - [network]generateHosts = false127.0.0.1 localhost The following lines are desirable for IPv6 capable hosts::1 ip6-localhost ip6-loopback |
All you need in your
Or, replace magento.test with whatever domain you set up is. 127.0.0.1 is your local machine, and ::1 is the ipv6 address of the same (or so I think it is?). That's all you need and it should be good to go. The install does this out of the box, so I'm closing out this issue as unable to replicate. |
Thank you @markshust , actually I was adding in the wrong file. We need to add in this file - C:\Windows\System32\drivers\etc\hosts My issue is resolved. |
I have followed your instructions from "Set up Magento with the automated onelinesetup script" video.
I was able to successfully install Magento. When I typed bin/magento -V it returned:
"Magento CLI 2.4.7"
but when I go to https://magento.test/ I get the following error:
This site can’t be reached
magento.test’s server IP address could not be found.
Try:
Checking the connection
Checking the proxy, firewall, and DNS configuration
ERR_NAME_NOT_RESOLVED
magento container in docker is running.
thanks for you help
The text was updated successfully, but these errors were encountered: