Hello I m also using Ktor with Mongo,
here is the error recently I m seeing with Mongo 7.0 while running mongosh locally,
Current Mongosh Log ID: 65817e5cf9b2c542d7090cbc
Connecting to:
mongodb://127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.1
(node:95895) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.
(Use
node --trace-deprecation ...
to show where the warning was created)
MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017