hapi-cli
hapi-cli copied to clipboard
while starting the dev env i am getting this issue follows bellow
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
In config/default.json what are the value for host and port?
In
config/default.jsonwhat are the value for host and port?
hi, Port is 3001 and host is 3000
Host is a string like localhost orexample.com. In your case replace 3000 by localhost