question about custom tcp

I have the doubt of knowing if the random port that is assigned to me is permanent or will it change at some point? and the ip is also permanent? (sorry I’m new to playit.gg)

Should be permanent. There may be technical reasons in the future why it might change but there’s no current plans for doing that.