hapi-cli icon indicating copy to clipboard operation
hapi-cli copied to clipboard

while starting the dev env i am getting this issue follows bellow

Open santhoshsvkmm opened this issue 7 years ago • 3 comments

yarn run v1.9.4 $ node app.js Connection DB ok mongodb://localhost/wallet { Error: getaddrinfo ENOTFOUND 3000 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26) errno: 'ENOTFOUND', code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: '3000' } I think this because of url address but i don't know to solve it

santhoshsvkmm avatar Oct 12 '18 13:10 santhoshsvkmm

In config/default.json what are the value for host and port?

AMoreaux avatar Oct 12 '18 13:10 AMoreaux

In config/default.json what are the value for host and port?

hi, Port is 3001 and host is 3000

santhoshsvkmm avatar Oct 12 '18 14:10 santhoshsvkmm

Host is a string like localhost orexample.com. In your case replace 3000 by localhost

AMoreaux avatar Oct 12 '18 15:10 AMoreaux