Give name of machne in domain How detect ports on which JVM is running

Hi all,I want to detect on which port JVM is runnig to manage it remotly with jconsole. please help.
[114 byte] By [JforJavaa] at [2007-11-15]