Clinton Foster wrote:
I am not sure if this has changed in the newer releases that are based on
MINA, but it used to be that the following two configuration parameters
controlled this:
    config.socket-factory.address - bind address for control connections
    config.data-connection.passive.address - bind address for passive
connections


They have indeed changed in the new code. They are now called:
config.listeners.<listener name>.address
config.listeners.<listener name>.data-connection.passive.address

For your default listener, you would therefore need the following config:

config.listeners.default.address=1.2.3.4
config.listeners.default.data-connection.class=org.apache.ftpserver.DefaultDataConnectionConfig
config.listeners.default.data-connection.passive.address=1.2.3.4

/niklas

Reply via email to