open fun setPort(port: Int): Unit
Set the port of the registry for the exported RMI service, i.e. rmi://host:PORT/name
rmi://host:PORT/name
Default is Registry.REGISTRY_PORT (1099).
Registry.REGISTRY_PORT