Sync up ports used.