By admin , 3 January, 2022 We can use option --uri: vendor/bin/drush uli --uri=http://localhost/socialproject/web