App in Shinyapps connection to MongoDB

Hello everyone,

I am trying to read some data in a MongoDB from a shiny app deployed in shinyapps.io. I am not having problem on do that, but I had to define my Network Access as 0.0.0.0/0, for the shiny apps in shinyapps.io be available to read. Is there a way to choose the specific IP of the server where the shiny app is deployed??

Thank you,

Regards,
Lorena

Hi,

You can find the list of IP addresses that shinyapps.io uses here:

https://docs.posit.co/shinyapps.io/guide/applications/#firewalls

These IP addresses are stable, so you can configure your MongoDB servers to accept connections from them.

-Andy

Thank you Andy. This works just fine.

-Lorena