Removing depreciated version of randomizing port.