Fixed the port allocations.