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

1 Like

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

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.