Deno app getting "Connection failed: Connection refused (os error 111)" when connecting to external Mongo

This mongo instance is running on a DO instance.

I did not think of that at all, so it is possible yes. However, the DNS records are only for IPv4 though, so would the app still try to connect over IPv6?

Running drill <mongo host dns> returns only an A record with an IPv4 address.