Basic Node and Express - Implement a Root-Level Request Logger Middleware

Try explicitly using IPv4

Add to server.js at the top of the file.

const dns = require('dns');
dns.setDefaultResultOrder('ipv4first');

More info

2 Likes