swap ports