Tracking connection back to a container

Hi Guys, I could use some help.

We have a large k8s cluster that is connecting to an external Database. I am trying to track back from a database connection to the container that made the connection. What I have is an ip address of the node and a port that it is making the connection on (not the database port, but the high port used for communication).

Basically, the results of

netstat -an | grep :27017 | awk '{print $5}'

This gives me a stack of HOSTIP:PORT. The database is not in the cluster, it is external. The host ips are k8s node ips. From there, it is like most every other docker host. Is there a way I can track that to an individual container?