5,099 questions
There may be several possibilities behind this issue. It may be CGNAT or, related to Port Forwarding or, Firewall, or Dynamic IP address etc.
Best will be contact your 5G provider... they may need to adjust settings on their end to allow remote access.