So a difference between Node 16 and 18 is whether they use IPv4 vs 6 preferentially. You probably have your database only on IPv4, but Node is trying to connect to it on IPv6. Here’s the fix:
1 Like
So a difference between Node 16 and 18 is whether they use IPv4 vs 6 preferentially. You probably have your database only on IPv4, but Node is trying to connect to it on IPv6. Here’s the fix: