normalize port