Check port type.