Port range with Pasv FTP in AIX
807589Dec 1 2008 — edited Dec 1 2008Hello,
I would like to write the java server program to select Passive port ranges in the code level. I have AIX5.2 and tcp_ephemeral_high port value can be set > 32768. But i wanted to set range between 2000 and 5000, which AIX is not allowed high port(5000).
So, instead of OS giving port ranges, i would like to write the code to select data port from the range of ports(2000 - 5000) specified for Passive mode.
Pls help me or provide any sample code.