I finally figured it out. I’m using the Fastify adapter instead of Express, and here’s what I found straight from the docs:
By default, Fastify listens only on the
localhost 127.0.0.1
interface (read more). If you want to accept connections on other hosts, you should specify'0.0.0.0'
in thelisten()
call:
So I changed:
await app.listen(port)
to
await app.listen(port, '0.0.0.0');
and it works great now. I hope this helps someone else down the road!