How to access docker container running on a private network from outside of a private network?

I have a service running inside a container and the host is on a private network. I have a web app that is not running on a private network and I want to call the exposed APIs of the running container through the web app.

The host IP is xxx.xxx.xx.x and the running container has exposed the port 7777. If I am on the same private network, am able to access xxx.xxx.xx.x:7777 but not from the network outside of this private network.

Any way this can be achieved?

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum