Adonis.js deployment failure

Hi,
I tried to deploy a simple Adonis app with postgres db. build phase went ok but deploy returned this error:
EADDRNOTAVAIL: address not available
my build and run commands:
npm install; node ace build --production --ignore-ts-errors
cd build; yarn start

can anyone help?

{“level”:50,“time”:1667210192232,“pid”:75,“hostname”:“srv-cdfoeuda4992md4tfkag-kn-00001-deployment-66b747cc74-sspqk”,“name”:“matcher”,“code”:“EADDRNOTAVAIL”,“errno”:-99,“syscall”:“listen”,“address”:“216.24.57.253”,“port”:10000,“stack”:“Error: listen EADDRNOTAVAIL: address not available 216.24.57.253:10000\n at Server.setupListenHandle [as _listen2] (net.js:1301:21)\n at listenInCluster (net.js:1366:12)\n at GetAddrInfoReqWrap.doListen (net.js:1503:7)\n at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:69:8)”,“type”:“Error”,“msg”:“listen EADDRNOTAVAIL: address not available 216.24.57.253:10000”}

Hi there,
That looks like you might be trying to bind to an address that we don’t make available - services should bind to 0.0.0.0

Regards,

John B

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.