Getting Nodejs to work with ipv4
This change has ruined my life the last few days. I’ve been trying to figure out why I was suddenly getting eConReset errors working on an internal application. Apparently in Node17, it was decided to change the default dns result order from always being ipv4 to following the host machines preferences, which is ipv6 on most machines.
You can undo this by setting a flag --dns-result-order ipv4first