Error with Symfony Flex: You have misconfigured DNS resolver(s)

Viewed 6654

When I run the command composer install or composer update it shows me the following

The following exception probably indicates you have misconfigured DNS resolver(s)
                                                                                                                
  [Composer\Downloader\TransportException]                                                                         
  curl error 6 while downloading https://flex.symfony.com/versions.json: Could not resolve host: flex.symfony.com`

I changed DNS but that did not fix the problem.

PHP version : 8.0.0. I test with php version 7.4

1 Answers
Related