Support Questions

Find answers, ask questions, and share your expertise

NiFi ListenFTP Processor Default Data Port

avatar
New Contributor

What is the default port used by the Apache NiFi processor ListenFTP for the data channel in active FTP mode? For the control channel the default port is 2221. Is the default port for the data channel in active mode 2220?

 

The default ports for FTP are 21 for control channel and 20 for data channel. Because ports below 1024 require root access, the NiFi default port for control channel is 2221. 

1 ACCEPTED SOLUTION

avatar
Master Guru

Under the cover this is just using Apache FTP Server

 

Depends on passive ports

https://mina.apache.org/ftpserver-project/configuration_passive_ports.html

 

Send is over passive

 

An example is here

https://gist.github.com/tspannhw/43dbc81b1634a7acb61fada1a3c19a4e

View solution in original post

2 REPLIES 2

avatar
Community Manager

@3markt, Welcome to our community! To help you get the best possible answer, I have tagged our NiFi experts @cotopaul @SAMSAL @TimothySpann who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.

 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Guru

Under the cover this is just using Apache FTP Server

 

Depends on passive ports

https://mina.apache.org/ftpserver-project/configuration_passive_ports.html

 

Send is over passive

 

An example is here

https://gist.github.com/tspannhw/43dbc81b1634a7acb61fada1a3c19a4e