I can't trust my friends

Hello everybody! So, I was watching a youtube tutorial, Then, To invite my friends, Now i don’t wanna share the IP, Because i can’t risk and getting my IP in the public, Can anyone tell me if theres another way to invite your friends?

Your IP doesn’t matter. They can’t do anything with it. Just give them the IP or set up a domain name pointing to it. If you do the latter, they can still (if they know how) trace your IP, but it doesn’t matter if they do because it’s near meaningless, despite the myths to the contrary. Literally every website you visit (including this one) can see your IP. No, there is no other (reasonable) way. Just give them the IP.