Skip to main content
3markt
Bronze ⭐️⭐️⭐️
August 2, 2023
Solved

NiFi ListenFTP Processor Default Data Port

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. 

TimothySpann
Platinum ⭐️⭐️⭐️
August 2, 2023

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

2 replies

VidyaSargur
Community Manager
Community Manager
August 2, 2023

@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.

 

Translate
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.
TimothySpann
Platinum ⭐️⭐️⭐️
Platinum ⭐️⭐️⭐️
August 2, 2023

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

Translate