I'm using homestead and vagrant to create a virtual machine and run my web projects. However, I can not get into my hosts (eg, myite.dev) , all are already properly configured in homestead.yaml and the hosts However, whenever I apply the vagrant up command, at the end of the command I get the following error message:
==> homestead-7:
==> homestead-7: [Composer\Downloader\TransportException]
==> homestead-7: The "https://getcomposer.org/versions" file could not be downloaded: php_network_getaddresses: getaddrinfo failed: Name or service not known
==> homestead-7: failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
==> homestead-7:
==> homestead-7:
==> homestead-7: self-update [-r|--rollback] [--clean-backups] [--no-progress] [--update-keys] [--stable] [--preview] [--snapshot] [--] [<version>]
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
Both bash and vagrant, like composer are already properly installed and upgraded. What could this mistake be?