Replies: 0 comments 1 reply
-
https://nodejs.org/docs/latest-v19.x/api/dns.html#dnssetdefaultresultorderorder |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Version
node 17 and above
Platform
No response
Subsystem
No response
What steps will reproduce the bug?
Create an express server and use the host as localhost.
How often does it reproduce? Is there a required condition?
Every time for node 17 and above
What is the expected behavior? Why is that the expected behavior?
In node version 16 and lower the default address was ipv4 but that's not the case with node 17 and above
What do you see instead?
I have tried a few solutions. It works if we mention the localhost IP (127.0.0.1) in the host. But how can we achieve the same with simply "localhost" as the hostname?
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions