MongoDb doesnt' work with node.js 18.12.1

Wow! I completely missed that part.

@Francek_Prijatelj you may check 2 forum posts below if you have time for a similar issue.

As @steevej stated above, your localhost is bound to ::1 right now. It possibly is a recent change in your c:\Windows\System32\drivers\etc\ file (an upgrade or a new program) that activated a ::1 localhost line

You may remove/comment out it, or use 127.0.0.1 instead, as suggested.

Econnrefused ::1:27017

Follow up of Econnrefused ::1:27017

2 Likes