No products in the cart.
Forum Replies Created
Viewing 1 post (of 1 total)
- AuthorPosts
-
November 7, 2018 at 7:20 am in reply to: What's the cause of the error 'getaddrinfo EAI_AGAIN'? #9272
martin-bramwell
ParticipantThe OP’s error specifies a host (
my-store.myshopify.com
).
The error I encountered is the same in all respects except that no domain is specified.My solution may help others who are drawn here by the title “Error: getaddrinfo EAI_AGAIN”
I encountered the error when trying to serve a NodeJs & VueJs app from a different VM from where the code was developed originally.
The file
vue.config.js
read :module.exports = { devServer: { host: 'tstvm01', port: 3030, }, };
When served on the original machine the start up output is :
App running at: - Local: http://tstvm01:3030/ - Network: http://tstvm01:3030/
Using the same settings on a VM
tstvm07
got me a very similar error to the one the OP describes:INFO Starting development server... 10% building modules 1/1 modules 0 activeevents.js:183 throw er; // Unhandled 'error' event ^ Error: getaddrinfo EAI_AGAIN at Object._errnoException (util.js:1022:11) at errnoException (dns.js:55:15) at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:92:26)
If it ain’t already obvious, changing
vue.config.js
to read …module.exports = { devServer: { host: 'tstvm07', port: 3030, }, };
… solved the problem.
- AuthorPosts
Viewing 1 post (of 1 total)