Mobile Multiplayer; Joining through IP or a "code"?

Hi, I’m creating a multiplayer game for mobile phones, and people are supposed to be able to join each other online, the ideal way is through a special “code” that the host generates and gives to the people he wants to play with.
As I googled around I didn’t find much on this subject, so I thought joining through IP adress would be the ideal way for a prototype, however, I didn’t find much on that either (except for pc lan IP 127.0.0.1 or something)…
I did find a lot of videos using create session and join session blueprints and creating a server list to choose and join from. But since it’s on mobile phone I would like to avoid server lists.

Is it possible to find a phones IP adress which the clients can then join?
Or is it possible to generate a special code for the lobby and game that clients and can enter and join through? (picture attached)

Any help is much appreciated and thanks in advance! :slight_smile:
Best regards, RollTwenty