DefaultAddressDefaultAddress Name DefaultAddress -- Set the address for the server to listen on Synopsis
DefaultAddress [ dns-names|ip-addresses seperated with spaces]
Default
none
Context
server config
Module
mod_core
Compatibility
1.2.7rc1 and later
Description
This directive sets the the address the main server instance will bind to, the default behaviour is to select whatever IP the system reports as being the primary IP.
Starting with ProFTPD 1.3.0rc1 it's possible to use more than one FQDN or IP Address. With this change the old Bind directive has been deprecated. See also
VirtualHost Examples
ServerName "Default FTP Server" Port 21
# We want the main server instance to listen on a specific IP DefaultAddress 192.168.10.30
## Since 1.3.0rc1 it's also possible to use the following: # DefaultAddress 192.168.10.30 my.domain.tld
|