-
-
Notifications
You must be signed in to change notification settings - Fork 258
Open
Labels
enhancementNew feature or requestNew feature or request
Description
From nodejs@v17 onwards there is a change where host names are selected based on the order provided from the DNS resolution: nodejs/node#39987
Prior to this change node would re-order the DNS records such that the ipv4 address always came first, an option which can be manually selected with the following CLI flag:
node --dns-result-order=ipv4first script.js
Users of node >= 17 may notice a similar error to this when not using the above flag:
error: [libpostal] http://localhost:4400/parse?address=Example:
{"errno":-61,"code":"ECONNREFUSED","syscall":"connect","address":"::1","port":4400,"retries":0}
note: the requested host is
localhostbut the connection error says:"address":"::1".
this issue is open so we can track it while we figure out the best way to deal with it.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request