Fixed duplicate port allocation