Hello,
I’m using the FTP Upload binding on openHAB 2.5.0.
When I try to change the default listening port of the binding (2121 to 21), I receive the following error:
2020-04-11 10:14:07.752 [INFO ] [oad.internal.FtpUploadHandlerFactory] - Stopping FTP server
2020-04-11 10:14:07.772 [INFO ] [oad.internal.FtpUploadHandlerFactory] - Stopping FTP server
2020-04-11 10:14:07.775 [INFO ] [oad.internal.FtpUploadHandlerFactory] - Starting FTP server, port=21, idleTimeout=60
2020-04-11 10:14:07.792 [WARN ] [oad.internal.FtpUploadHandlerFactory] - FTP server starting failed, reason: Failed to bind to address 0.0.0.0/0.0.0.0:21, check configuration
I did it via the paper UI -> Configuration -> Bindings -> FTP Upload Binding.
The error appears when I choose 21 or 22 as a new port. On the other hand, when I choose another port for example 2222 or another one it works without any issue.
Thank you,