Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Port range with Pasv FTP in AIX

807589Dec 1 2008 — edited Dec 1 2008
Hello,

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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2008
Added on Dec 1 2008
1 comment
737 views