Used port handling