ports parser