Hi,
I am having trouble configuring Alfresco 3.2 for FTP access. I have configured the server in file-servers.xml as follows:
<config evaluator="string-compare" condition="FTP Server">
<serverEnable enabled="true"/>
<!– Run on a non-privileged port –>
<port>2121</port>
<bindto>192.168.1.11</bindto>
<!– IPv6 support –>
<IPv6 state="false"/>
<!– FTP authentication –>
<!– Available types are 'alfresco' and 'passthru' –>
<authenticator type="alfresco"/>
<!– FTP server debug settings –>
<!– Enable 'log4j.logger.org.alfresco.fileserver=debug' in log4j.properties file –>
<debug flags="File,Search,Error,Directory,Info,DataPort"/>
</config>
However the server is unable to bind to the port as shown in the log below:
10:44:32,595 DEBUG [org.alfresco.fileserver] [FTP] FTP Socket error : java.net.BindException: Permission denied
10:44:32,597 DEBUG [org.alfresco.fileserver] java.net.BindException: Permission denied
10:44:32,597 DEBUG [org.alfresco.fileserver] at java.net.PlainSocketImpl.socketBind(Native Method)
10:44:32,598 DEBUG [org.alfresco.fileserver] at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:365)
10:44:32,598 DEBUG [org.alfresco.fileserver] at java.net.ServerSocket.bind(ServerSocket.java:319)
10:44:32,598 DEBUG [org.alfresco.fileserver] at java.net.ServerSocket.<init>(ServerSocket.java:185)
10:44:32,598 DEBUG [org.alfresco.fileserver] at java.net.ServerSocket.<init>(ServerSocket.java:141)
10:44:32,598 DEBUG [org.alfresco.fileserver] at org.alfresco.jlan.ftp.FTPServer.run(FTPServer.java:561)
10:44:32,599 DEBUG [org.alfresco.fileserver] at java.lang.Thread.run(Thread.java:619)
I have tried a range of port numbers in the unprivileged range and yet the server is still unable to bind to the port.
Has anybody encountered this problem, or even better know the solution!!!
Many thanks,
Ben Trenchard