Facebook\WebDriver\Exception\UnknownErrorException: unknown error: net::ERR_NAME_NOT_RESOLVED

Facebook\WebDriver\Exception\UnknownErrorException: unknown error: net::ERR_NAME_NOT_RESOLVED
   (Session info: headless chrome=90.0.4430.93)

This error is encountered if you try to run php artisan dusk command

To fix this error you will need to update .env file APP_URL parameter to your local server url

APP_NAME=Laravel
 APP_ENV=local
 APP_KEY=base64:XZoWMB3aWom/V3iZy870VSQjMsBdGCHYdWbRuNb6aY0=
 APP_DEBUG=true
 APP_URL=http://127.0.0.1:8000