All you have to do is:
a) have your server bind to the port
b) leave your server running
I'm oversimplifying a bit, but that's really pretty much all you have to do most of the time ... and it's usually sufficient.
IMHO .. PSM
If some other service happens to bind to your port first, you can easily identify the culprit with a tool like "lsof".
Last edited by paulsm4; 02-04-2010 at 12:36 AM.