Be sure that the port is available during test execution and that it is the same port used by the rmid.