You have to add -Djava.rmi.server.hostname=xxx.xxx.xxx.xxx to your run.sh script. It will look like
# Setup JBoss sepecific properties
JAVA_OPTS="$JAVA_OPTS -Dprogram.name=$PROGNAME -Djava.rmi.server.hostname=xxx.xxx.xxx.xxx"
and modify your NamingService by adding the RmiPort attribute name as follows.
Note that this will work only if you are not using CMT in your client. The jboss implementation of TransactionManager uses a random port when requesting a new transaction.
Thanks for the information.
I've done everything that you said, but the random high ports are still open. I have no applications installed there - it is the basic shell that is there. Did you have to remove any of the installed applications that are included in the download e.g. jmx-console. Do any of these use transactions?