Do inbound and outbound traffic rules apply to communication between processes inside an instances?
For example, My MongoDB instance is running on port 27017 while my Node.js app is listening to port 80 and 443 on the same server. If I have only opened port 80 and 443 outbound and inbound rules without opening 27017 outbound/inbound to the public, would my Node.js app still be able to connect to the MongoDB instance?
I am trying to limit my MongoDB instance to local connections to prevent remote ssh connections through this method, if possible.