Hi Anurag,
I do not understand the requirement .
You can perhaps use the example that I suggested earlier.
For example see note 1589562 - HTTP and HTTPS connection to the J2EE engine fails with file access permissions errors. If you set the HTTP port to say 1001, it will fail due to UNIX permission issues. In this case, it is upto you, the Basis admin to either change the port to a greater value than 1024 or the OS admin should make changes on the OS end for the request n this port to go through.
Hope this helps.
_____________
Kind Regards,
Hemanth