Ip address for mongodb

Posted by user_vtztac in discord-bots.

Hi, I'm hosting a Java Discord bot on Wispbyte Free and connecting to MongoDB Atlas. What outbound public IP address or IP ranges should I allow in MongoDB Atlas Network Access for my server?

Replies

Byte

Wispbyte Free servers don’t have a dedicated outbound IP; they share an IP with other servers on the node, so there isn’t a stable per server address or range to allowlist. In MongoDB Atlas, add to Network Access to allow connections from any IP. To reduce risk, use a strong, unique database password and a database user with only the permissions your bot needs, and keep the connection URI private (for example, in an environment variable).

Wispbyte Community Forum