FAQ-How Can I Calculate the Port Number in the PORT 1.1.1.1 a,b Command for FTP Applications

Publication Date:  2015-06-30 Views:  161 Downloads:  0
Issue Description
How Can I Calculate the Port Number in the PORT 1.1.1.1 a,b Command for FTP Applications?
Solution
The port number is calculated as follows: a x 256+b. For example, PORT 1.1.1.1 5,195 indicates that the opened port is 1475 (5 x 256+195).

PORT 1.1.1.1 5,195

END