Hi Bryan,

Thank you very much for the reply,
but the problem is something different. The port in my config is 2121.
Furthermore, if that was the problem, I would not have been able to start the 
ftpserver in standalone mode, which I did also as non-root user.

Thanks a lot ...
Michael

----- Original Nachricht ----
Von:     Bryan Hunt <[email protected]>
An:      [email protected], [email protected]
Datum:   20.02.2012 16:02
Betreff: Re: Problems embedding Apache ftpserver into a webapp via Spring

> On Mon, 20 Feb 2012 11:29:53 +0100 (CET), [email protected] wrote:
> 
> Only root can bind below 1024, the trick on Linux is to do something
> like this.
> 
> http://mina.apache.org/ftpserver/ftpserver-and-port-21-on-linux.html
> 
> sudo iptables -t nat -A PREROUTING -p tcp -m tcp --dport 21 -j REDIRECT
> --to-ports 60021
> 

Reply via email to