mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 09:10:03 +01:00
Set default listen-address in dnsmasq config
I was having issues where dnsmasq was trying to listen on some weird IPv6 address by default; setting this explicitly solves that.
This commit is contained in:
@@ -61,7 +61,7 @@ function createCustomConfigFile($domain)
|
||||
|
||||
$this->appendCustomConfigImport($customConfigPath);
|
||||
|
||||
$this->files->putAsUser($customConfigPath, 'address=/.'.$domain.'/127.0.0.1'.PHP_EOL);
|
||||
$this->files->putAsUser($customConfigPath, 'address=/.'.$domain.'/127.0.0.1'.PHP_EOL.'listen-address=127.0.0.1'.PHP_EOL);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user