Hi Ritukama,
Before you catch some heat from one of the bartenders or sheriffs around here, you need to change your display name to a first and last name.
Now, as you know, under most circumstances, an applet runs in the "sandbox". Unless the local machine has a policy file in place for the applet's codebase (or signed certificate) granting extra privaleges, then the applet can only access ports (and other resources as well) on the machine that it originated on (the codebase.)
I'm not totally clear on what you are trying to do, but most likely the answer to your question is no you can't listen on ports from an applet without explicit permission being granted.
Hope this helps
Michael Morris
SCJP2
[ April 02, 2002: Message edited by: Michael Morris ]
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher