Tip: Be sure that your application is listening on the port provided by the PORT environment variable: server.listen(process.env.PORT) code example
Example: const port = process.env.port || 3000
const port = process.env.port || 3000
const port = process.env.port || 3000