EvenNode - Node.js hosting

502 Bad Gateway

Cannot connect to application

How to fix?

Python

  • Your app should listen on IP 0.0.0.0 and port defined in os.getenv('PORT')

Node.js

  • Make sure your package.json defines the start script or the file app.js is your main script
  • Your app should listen on IP 0.0.0.0 and port defined in process.env.PORT

For more information visit our documentation