This is a patch that allows the RMI server to have a configurable port (like the client has). Example configuration use is shown below. A diff is attached.
Config.groovy
...........
environments {
development {
remoting {
rmiport = 1198
}
}
production {
remoting {
rmiport = 1199
}
}
}
Available in the 1.0 release of the plugin as a "remoting.rmi.port" setting.