I’ve created an app that connects with mongo atlas. But to make it work I’ve to set “ALLOW ACCESS FROM ANYWHERE”, if I did not give access I receive “ServerSelectionTimeoutError”.
Hi, I face the same concern as Daniel as I only managed to make the connection between the deployed streamlit app and MongoDB with 0.0.0.0/0.
I couldn’t find clear explanation on how this could be addressed in the provided links above and I’m sorry If I missed the right content.
If there is available explanation on the scenario would be great to be shared. I couldn’t find it the streamlit documentation or Mongo DB, or StackOverFlow for now - will continue looking for ideas