In case you are working the code on your own machine, Check out your antivirus settings. Antiviruses normally mess close to with email ports utilization. Node.js won't understand the MITM cert your antivirus is making https://iwancmml190732.thezenweb.com/what-does-node-mailer-mean-68334415