I want to know if my RMI port is available or if busy. While I know that an exception will be thrown if it cannot connect, I would like to have that under control - to show a message "Connection Failed" and stop the process. (I am working with Eclipse). How can that be done?I want to know if my RMI port is available or i