Mongo not connecting due to ip issues

Question:
I whitelisted 0.0.0.0./0 in mongo and dont have any problems with my bot that uses the same connection method and string but my node site wont work.


Repl link:
https://replit.com/@linkadmin/LinkAdmin-Site#index.js

code snippet

Hi @linkadmin I tried to run your Repl and, after successfully displaying the main menu, this appears after clicking on “login”:

image

Can you provide more information about your issue please?

Seems like it works now!