How to connect to Docker container running on DigitalOcean droplet?

  digital-ocean, docker

I have a Node RTMP streaming server running inside a Docker container on a DigitalOcean droplet. I am trying to access this streaming server from an Android emulator using the public IPv4 address of the DigitalOcean droplet and port 1935, but it is unable to connect. I am wondering how I can connect to the specific Docker container that is running on the droplet.

I’m trying to connect using the following:
rtmp://(IPv4 address):1935/live/(streamname)

Source: Docker Questions