79189234

Date: 2024-11-14 14:48:28
Score: 1.5
Natty:
Report link

one year too late, but maybe it will help someone. Fastify library binds by defualt to localhost interface only. So if you have dockerized enviroment and the app is not visible from outside, try specify the ip address to bind to, ie

await app.listen(port, '0.0.0.0')

to listen on all interfaces ...

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Radek