I have set up my mongodb4 connection as follows:
As the documentation says:
- URI - Define your own connection string in URI format. Read the docs: Connection String in URI Format
Which I got from my Mongo Hosted instance at cloud.mongodb.com
SOLVED: I had the tailscale IP on the mongo allow list rather than the external IP of the sever.