The health check URL was hardcoded to http://127.0.0.1:3000 but the production .env sets PORT=3002. Read the PORT from .env dynamically so the health check matches the actual server port.
The health check URL was hardcoded to http://127.0.0.1:3000 but the production .env sets PORT=3002. Read the PORT from .env dynamically so the health check matches the actual server port.