Media Summary: Just added this 2 lines: const dns=require('dns'); dns.setServers(['1.1.1.1','8.8.8.8']); --- your problem will be solved 100% In this video, we fix a major issue Error: querySrv ECONNREFUSED - we solve how to fix mongodb connection in latest version ... In this video, we'll fix one of the most common MongoDB
Nodejs Econnrefused Error With Node - Detailed Analysis & Overview
Just added this 2 lines: const dns=require('dns'); dns.setServers(['1.1.1.1','8.8.8.8']); --- your problem will be solved 100% In this video, we fix a major issue Error: querySrv ECONNREFUSED - we solve how to fix mongodb connection in latest version ... In this video, we'll fix one of the most common MongoDB the solution that works for me to fix the