Port formatting