502 bad gateway
corriebyrd2
HOBBYOP
11 days ago
TCP connection established, TLS handshake completes, request sent, no response received — even for routes registered before all middleware.
2 Replies
11 days ago
is your app is listening on correct port ($PORT / process.env.PORT) and bound to 0.0.0.0 (not localhost)
corriebyrd2
HOBBYOP
11 days ago
The server uses process.env.PORT and binds to 0.0.0.0 in the server/index.ts file