resets ports