Do you mean port the phone number to a new SIM? Because the SMS 2FA will go to the old number. Porting it to a new number won't do anything.
Look up your own name or your friends on a site that is owned by or uses Intelius data, e.g. https://www.addresses.com/ - For many people (not all), their phone numbers come up right away.
Pretty sure they won't be wrong or out of date.
"OBJ" for Odell Beckham Junior (NFL) has a user ID number of 309,853 (profilePage_309853).
"Abby" for Abby Pollock (influecner) has a user ID number of 239,219,491 (profilePage_239219491).
"Kevin" for Kevin Systrom (IG founder) has a user ID number of 3 (profilePage_3).
Pretty sure FB/Meta will set you up in some capacity. Two of these are far too large to not have been squatted.
> https://www.codeofaninja.com/tools/find-instagram-user-id/
[0] Trade-offs include a glitchy MMS experience, easy, automatic, and built-in call-recording, IVR capabilities to screen unknown callers, voicemail transcription, and the ability/requirement to use an email client as your SMS client. Though you then get to treat SMS and calls as device agnostic - desktop, laptop, tablet, and phone all send & recieve SMS and voice calls
In that story the basic technique was a SIM-swapping attack [2]. Fraudster calls the cell provider, claims to be the victim and that they lost their phone. Cell provider then ports the phone identity over to a new SIM. After that the fraudster just resets the account's password and gets the 2FA SMS (or even easier, one-time passwords) to their newly connected phone. Don't know if that same basic technique still applies nowadays, but in any case the most surprising part of the episode to me was how large and mature a black market there was for these account handles.
[1] https://gimletmedia.com/shows/reply-all/v4he6k
[2] https://en.wikipedia.org/wiki/SIM_swap_scam
e: Corrected, original post incorrectly said new number, not new SIM.