spring-framework / org.springframework.remoting.rmi / RmiRegistryFactoryBean / setPort

setPort

open fun setPort(port: Int): Unit

Set the port of the registry for the exported RMI service, i.e. rmi://host:PORT/name

Default is Registry.REGISTRY_PORT (1099).